diff options
Diffstat (limited to 'perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch')
-rw-r--r-- | perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch b/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch deleted file mode 100644 index 41f26098b2bd..000000000000 --- a/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/lib/ExtUtils/MM_Any.pm -+++ b/lib/ExtUtils/MM_Any.pm -@@ -1900,6 +1900,13 @@ CODE - # 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 a 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; - } - } |