summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch')
-rw-r--r--dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch21
1 files changed, 0 insertions, 21 deletions
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
deleted file mode 100644
index c442defa5d68..000000000000
--- a/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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;
- }
- }