summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff
new file mode 100644
index 0000000000..d704c00c60
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/extutils_set_libperl_path.diff
@@ -0,0 +1,24 @@
1Upstream-Status:Inappropriate [debian patches]
2From 334ac01a8306485ed901f4fb45d79f39a944fe77 Mon Sep 17 00:00:00 2001
3From: Brendan O'Dea <bod@debian.org>
4Date: Tue, 8 Mar 2005 19:30:38 +1100
5Subject: EU:MM: Set location of libperl.a to /usr/lib
6
7Patch-Name: debian/extutils_set_libperl_path.diff
8---
9 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
13index 4ee6b3f..42bbb83 100644
14--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
16@@ -2409,7 +2409,7 @@ MAP_PRELIBS = $Config{perllibs} $Config{cryptlib}
17 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/;
18 }
19 unless ($libperl && -f $lperl) { # Ilya's code...
20- my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE";
21+ my $dir = $self->{PERL_SRC} || "/usr/lib";
22 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
23 $libperl ||= "libperl$self->{LIB_EXT}";
24 $libperl = "$dir/$libperl";