1 |
commit: eb004985d46d2c3ea70e6fd4fe1874e7ce0c737b |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 17 15:58:42 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 24 02:44:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb004985 |
7 |
|
8 |
perl-core/ExtUtils-MakeMaker: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5969 |
11 |
|
12 |
.../ExtUtils-MakeMaker/files/6.58-RUNPATH.patch | 16 ------ |
13 |
.../files/7.04-delete_packlist_podlocal.patch | 63 ---------------------- |
14 |
2 files changed, 79 deletions(-) |
15 |
|
16 |
diff --git a/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch b/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch |
17 |
deleted file mode 100644 |
18 |
index 41f26098b2b..00000000000 |
19 |
--- a/perl-core/ExtUtils-MakeMaker/files/6.58-RUNPATH.patch |
20 |
+++ /dev/null |
21 |
@@ -1,16 +0,0 @@ |
22 |
---- a/lib/ExtUtils/MM_Any.pm |
23 |
-+++ b/lib/ExtUtils/MM_Any.pm |
24 |
-@@ -1900,6 +1900,13 @@ CODE |
25 |
- # LD_RUN_PATH now computed by ExtUtils::Liblist |
26 |
- ($self->{EXTRALIBS}, $self->{BSLOADLIBS}, |
27 |
- $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs; |
28 |
-+ # We do not want the build root in RPATH |
29 |
-+ if ( exists $ENV{PORTAGE_TMPDIR} ){ |
30 |
-+ # If we have a PORTAGE_TMPDIR set, strip that, as just testing for |
31 |
-+ # /usr and /opt might not be sufficient. |
32 |
-+ $self->{LD_RUN_PATH} = join ':', grep !/^\Q$ENV{PORTAGE_TMPDIR}/, |
33 |
-+ split /:/, $self->{LD_RUN_PATH}; |
34 |
-+ } |
35 |
- last; |
36 |
- } |
37 |
- } |
38 |
|
39 |
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 |
40 |
deleted file mode 100644 |
41 |
index 266d5d240c0..00000000000 |
42 |
--- a/perl-core/ExtUtils-MakeMaker/files/7.04-delete_packlist_podlocal.patch |
43 |
+++ /dev/null |
44 |
@@ -1,63 +0,0 @@ |
45 |
-diff -ruN ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MM_Unix.pm ExtUtils-MakeMaker-7.04/lib/ExtUtils/MM_Unix.pm |
46 |
---- ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MM_Unix.pm 2014-12-02 13:44:33.000000000 +0100 |
47 |
-+++ ExtUtils-MakeMaker-7.04/lib/ExtUtils/MM_Unix.pm 2015-02-25 23:54:03.373862321 +0100 |
48 |
-@@ -1606,6 +1606,16 @@ |
49 |
- $self->{FULLEXT} = $self->catdir(split /::/, $self->{NAME}); |
50 |
- |
51 |
- |
52 |
-+ # Workaround for https://bugs.gentoo.org/show_bug.cgi?id=221179 |
53 |
-+ if (!exists($self->{NO_PERLLOCAL})) { |
54 |
-+ $self->{NO_PERLLOCAL} = 1; |
55 |
-+ } |
56 |
-+ |
57 |
-+ if (!exists($self->{NO_PACKLIST})) { |
58 |
-+ $self->{NO_PACKLIST} = 1; |
59 |
-+ } |
60 |
-+ |
61 |
-+ |
62 |
- # Copied from DynaLoader: |
63 |
- |
64 |
- my(@modparts) = split(/::/,$self->{NAME}); |
65 |
-diff -ruN ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MakeMaker.pm ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm |
66 |
---- ExtUtils-MakeMaker-7.04.orig/lib/ExtUtils/MakeMaker.pm 2014-12-02 13:44:33.000000000 +0100 |
67 |
-+++ ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm 2015-02-25 23:54:03.373862321 +0100 |
68 |
-@@ -2348,13 +2348,13 @@ |
69 |
- When true, suppresses the generation of MYMETA.yml and MYMETA.json module |
70 |
- meta-data files during 'perl Makefile.PL'. |
71 |
- |
72 |
--Defaults to false. |
73 |
-+Defaults to true. |
74 |
- |
75 |
- =item NO_PACKLIST |
76 |
- |
77 |
- When true, suppresses the writing of C<packlist> files for installs. |
78 |
- |
79 |
--Defaults to false. |
80 |
-+Defaults to true. |
81 |
- |
82 |
- =item NO_PERLLOCAL |
83 |
- |
84 |
-diff -ruN ExtUtils-MakeMaker-7.04.orig/t/INSTALL_BASE.t ExtUtils-MakeMaker-7.04/t/INSTALL_BASE.t |
85 |
---- ExtUtils-MakeMaker-7.04.orig/t/INSTALL_BASE.t 2014-11-11 14:50:52.000000000 +0100 |
86 |
-+++ ExtUtils-MakeMaker-7.04/t/INSTALL_BASE.t 2015-02-25 23:59:00.383878929 +0100 |
87 |
-@@ -42,7 +42,7 @@ |
88 |
- ok( chdir('Big-Dummy'), "chdir'd to Big-Dummy") || diag("chdir failed; $!"); |
89 |
- |
90 |
- for my $instdir (@INSTDIRS) { |
91 |
-- my @mpl_out = run(qq{$perl Makefile.PL "INSTALL_BASE=$instdir"}); |
92 |
-+ my @mpl_out = run(qq{$perl Makefile.PL "INSTALL_BASE=$instdir" NO_PERLLOCAL=0 NO_PACKLIST=0}); |
93 |
- |
94 |
- cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) || |
95 |
- diag(@mpl_out); |
96 |
-diff -ruN ExtUtils-MakeMaker-7.04.orig/t/basic.t ExtUtils-MakeMaker-7.04/t/basic.t |
97 |
---- ExtUtils-MakeMaker-7.04.orig/t/basic.t 2014-11-11 14:50:52.000000000 +0100 |
98 |
-+++ ExtUtils-MakeMaker-7.04/t/basic.t 2015-02-25 23:56:51.161871703 +0100 |
99 |
-@@ -59,7 +59,7 @@ |
100 |
- |
101 |
- sub extrachar { $] > 5.008 && !$ENV{PERL_CORE} ? utf8::decode(my $c='ลก') : 's' } |
102 |
- my $DUMMYINST = '../dummy-in'.extrachar().'tall'; |
103 |
--my @mpl_out = run(qq{$perl Makefile.PL "PREFIX=$DUMMYINST"}); |
104 |
-+my @mpl_out = run(qq{$perl Makefile.PL "PREFIX=$DUMMYINST" NO_PERLLOCAL=0 NO_PACKLIST=0}); |
105 |
- END { rmtree $DUMMYINST; } |
106 |
- |
107 |
- cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) || |