summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-09-20 09:19:05 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-09-20 09:19:05 +0000
commit228825019134ca1b3224a0f41709d6de2bf9d38c (patch)
treee4cd044208900330270d0f7b33bcc34c28b4207e /dev-lang/perl/files
parentInitial import (diff)
downloadgentoo-2-228825019134ca1b3224a0f41709d6de2bf9d38c.tar.gz
gentoo-2-228825019134ca1b3224a0f41709d6de2bf9d38c.tar.bz2
gentoo-2-228825019134ca1b3224a0f41709d6de2bf9d38c.zip
We do not want the build root in the linked perl module's RUNPATH, so
strip paths containing PORTAGE_TMPDIR if its set. This is for the MakeMaker module, bug #105054. (Portage version: 2.0.52-r1)
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r--dev-lang/perl/files/digest-perl-5.8.6-r61
-rw-r--r--dev-lang/perl/files/digest-perl-5.8.7-r11
-rw-r--r--dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch21
3 files changed, 23 insertions, 0 deletions
diff --git a/dev-lang/perl/files/digest-perl-5.8.6-r6 b/dev-lang/perl/files/digest-perl-5.8.6-r6
new file mode 100644
index 000000000000..666169141e1e
--- /dev/null
+++ b/dev-lang/perl/files/digest-perl-5.8.6-r6
@@ -0,0 +1 @@
+MD5 3d030b6ff2a433840edb1a407d18dc0a perl-5.8.6.tar.bz2 9693085
diff --git a/dev-lang/perl/files/digest-perl-5.8.7-r1 b/dev-lang/perl/files/digest-perl-5.8.7-r1
new file mode 100644
index 000000000000..7407844a5a36
--- /dev/null
+++ b/dev-lang/perl/files/digest-perl-5.8.7-r1
@@ -0,0 +1 @@
+MD5 9a175d6ccbb5d9b41ffac5073ff9cc3c perl-5.8.7.tar.bz2 9839086
diff --git a/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch b/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch
new file mode 100644
index 000000000000..c442defa5d68
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch
@@ -0,0 +1,21 @@
+Bug #105054.
+
+We do not want the build root in the linked perl module's RUNPATH, so strip
+paths containing PORTAGE_TMPDIR if its set.
+
+--- perl-5.8.7/lib/ExtUtils/MM_Unix.pm 2005-09-10 14:06:59.000000000 +0200
++++ perl-5.8.7.az/lib/ExtUtils/MM_Unix.pm 2005-09-10 15:25:52.000000000 +0200
+@@ -1915,6 +1915,13 @@
+ # LD_RUN_PATH now computed by ExtUtils::Liblist
+ ($self->{EXTRALIBS}, $self->{BSLOADLIBS},
+ $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
++ # We do not want the build root in RPATH
++ if (exists $ENV{PORTAGE_TMPDIR}) {
++ # If we have PORTAGE_TMPDIR set, strip that, as just testing for
++ # /usr and /opt might not be sufficient
++ $self->{LD_RUN_PATH} = join ':', grep !/^\Q$ENV{PORTAGE_TMPDIR}/,
++ split /:/, $self->{LD_RUN_PATH};
++ }
+ last;
+ }
+ }