diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-29 11:22:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-29 11:22:34 +0000 |
commit | bd7908c6630f38067350d396ac5d18c3cc2434a0 (patch) | |
tree | 3559b3e11424f5529527f2474d8a977a91ee3389 /perl-core/ExtUtils-MakeMaker/files | |
parent | 8b2628ad8526c806375e7b157889e4274b70248b (diff) |
gentoo resync : 29.10.2017
Diffstat (limited to 'perl-core/ExtUtils-MakeMaker/files')
-rw-r--r-- | perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch | 16 | ||||
-rw-r--r-- | perl-core/ExtUtils-MakeMaker/files/7.04-delete_packlist_podlocal.patch | 63 |
2 files changed, 0 insertions, 79 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; - } - } diff --git a/perl-core/ExtUtils-MakeMaker/files/7.04-delete_packlist_podlocal.patch b/perl-core/ExtUtils-MakeMaker/files/7.04-delete_packlist_podlocal.patch deleted file mode 100644 index 266d5d240c04..000000000000 --- a/perl-core/ExtUtils-MakeMaker/files/7.04-delete_packlist_podlocal.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -ruN ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MM_Unix.pm ExtUtils-MakeMaker-7.04/lib/ExtUtils/MM_Unix.pm ---- ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MM_Unix.pm 2014-12-02 13:44:33.000000000 +0100 -+++ ExtUtils-MakeMaker-7.04/lib/ExtUtils/MM_Unix.pm 2015-02-25 23:54:03.373862321 +0100 -@@ -1606,6 +1606,16 @@ - $self->{FULLEXT} = $self->catdir(split /::/, $self->{NAME}); - - -+ # Workaround for https://bugs.gentoo.org/show_bug.cgi?id=221179 -+ if (!exists($self->{NO_PERLLOCAL})) { -+ $self->{NO_PERLLOCAL} = 1; -+ } -+ -+ if (!exists($self->{NO_PACKLIST})) { -+ $self->{NO_PACKLIST} = 1; -+ } -+ -+ - # Copied from DynaLoader: - - my(@modparts) = split(/::/,$self->{NAME}); -diff -ruN ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MakeMaker.pm ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm ---- ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MakeMaker.pm 2014-12-02 13:44:33.000000000 +0100 -+++ ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm 2015-02-25 23:54:03.373862321 +0100 -@@ -2348,13 +2348,13 @@ - When true, suppresses the generation of MYMETA.yml and MYMETA.json module - meta-data files during 'perl Makefile.PL'. - --Defaults to false. -+Defaults to true. - - =item NO_PACKLIST - - When true, suppresses the writing of C<packlist> files for installs. - --Defaults to false. -+Defaults to true. - - =item NO_PERLLOCAL - -diff -ruN ExtUtils-MakeMaker-7.04.orig/t/INSTALL_BASE.t ExtUtils-MakeMaker-7.04/t/INSTALL_BASE.t ---- ExtUtils-MakeMaker-7.04.orig/t/INSTALL_BASE.t 2014-11-11 14:50:52.000000000 +0100 -+++ ExtUtils-MakeMaker-7.04/t/INSTALL_BASE.t 2015-02-25 23:59:00.383878929 +0100 -@@ -42,7 +42,7 @@ - ok( chdir('Big-Dummy'), "chdir'd to Big-Dummy") || diag("chdir failed; $!"); - - for my $instdir (@INSTDIRS) { -- my @mpl_out = run(qq{$perl Makefile.PL "INSTALL_BASE=$instdir"}); -+ my @mpl_out = run(qq{$perl Makefile.PL "INSTALL_BASE=$instdir" NO_PERLLOCAL=0 NO_PACKLIST=0}); - - cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) || - diag(@mpl_out); -diff -ruN ExtUtils-MakeMaker-7.04.orig/t/basic.t ExtUtils-MakeMaker-7.04/t/basic.t ---- ExtUtils-MakeMaker-7.04.orig/t/basic.t 2014-11-11 14:50:52.000000000 +0100 -+++ ExtUtils-MakeMaker-7.04/t/basic.t 2015-02-25 23:56:51.161871703 +0100 -@@ -59,7 +59,7 @@ - - sub extrachar { $] > 5.008 && !$ENV{PERL_CORE} ? utf8::decode(my $c='ลก') : 's' } - my $DUMMYINST = '../dummy-in'.extrachar().'tall'; --my @mpl_out = run(qq{$perl Makefile.PL "PREFIX=$DUMMYINST"}); -+my @mpl_out = run(qq{$perl Makefile.PL "PREFIX=$DUMMYINST" NO_PERLLOCAL=0 NO_PACKLIST=0}); - END { rmtree $DUMMYINST; } - - cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) || |