Gentoo Archives: gentoo-commits

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/perl-overlay:master commit in: perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/, perl-core/ExtUtils-MakeMaker/
Date: Mon, 04 Apr 2011 12:56:29
Message-Id: dc1e694f379150cc56682aff660b53a2f8c5d475.kent@gentoo
1 commit: dc1e694f379150cc56682aff660b53a2f8c5d475
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Mon Apr 4 12:52:42 2011 +0000
4 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
5 CommitDate: Mon Apr 4 12:52:42 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=dc1e694f
7
8 [newversion] *ExtUtils-MakeMaker-6.571.0_rc
9
10 (Portage version: 2.2.0_alpha29/git/Linux x86_64, signed Manifest commit with key 0A0CB301)
11
12 ---
13 perl-core/ExtUtils-MakeMaker/ChangeLog | 8 ++
14 .../ExtUtils-MakeMaker-6.571.0_rc.ebuild | 36 +++++++++
15 ...d-patch-from-gentoo-as-stolen-from-debian.patch | 84 ++++++++++++++++++++
16 .../0002-Add-RUNPATH-patch-from-gentoo.patch | 30 +++++++
17 4 files changed, 158 insertions(+), 0 deletions(-)
18
19 diff --git a/perl-core/ExtUtils-MakeMaker/ChangeLog b/perl-core/ExtUtils-MakeMaker/ChangeLog
20 index e40d42c..a69a1ac 100644
21 --- a/perl-core/ExtUtils-MakeMaker/ChangeLog
22 +++ b/perl-core/ExtUtils-MakeMaker/ChangeLog
23 @@ -2,6 +2,14 @@
24 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
25 # $Header: /var/cvsroot/gentoo-x86/perl-core/ExtUtils-MakeMaker/ChangeLog,v 1.21 2010/09/13 14:41:47 josejx Exp $
26
27 +*ExtUtils-MakeMaker-6.571.0_rc (04 Apr 2011)
28 +
29 + 04 Apr 2011; Kent Fredric <kentfredric@×××××.com>
30 + +files/6.571.0_rc/0001-Add-patch-from-gentoo-as-stolen-from-debian.patch,
31 + +files/6.571.0_rc/0002-Add-RUNPATH-patch-from-gentoo.patch,
32 + +ExtUtils-MakeMaker-6.571.0_rc.ebuild:
33 + Bump
34 +
35 *ExtUtils-MakeMaker-6.570.600_rc (10 Jan 2011)
36
37 10 Jan 2011; Kent Fredric <kentfredric@×××××.com>
38
39 diff --git a/perl-core/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.571.0_rc.ebuild b/perl-core/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.571.0_rc.ebuild
40 new file mode 100644
41 index 0000000..97eb052
42 --- /dev/null
43 +++ b/perl-core/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.571.0_rc.ebuild
44 @@ -0,0 +1,36 @@
45 +# Copyright 1999-2011 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +# $Header: $
48 +
49 +EAPI=4
50 +MODULE_VERSION="6.57_10"
51 +MODULE_AUTHOR=MSCHWERN
52 +inherit perl-module eutils
53 +
54 +DESCRIPTION="Create a module Makefile"
55 +HOMEPAGE="http://makemaker.org ${HOMEPAGE}"
56 +SLOT="0"
57 +KEYWORDS=""
58 +IUSE=""
59 +comment() { echo ''; }
60 +
61 +DEPEND="
62 + >=virtual/perl-ExtUtils-Manifest-1.56
63 + >=virtual/perl-ExtUtils-Command-1.16
64 + >=virtual/perl-ExtUtils-Install-1.52
65 + >=virtual/perl-File-Spec-0.8 $(comment 0.800.0)
66 +"
67 +RDEPEND="${DEPEND}
68 + !!<dev-lang/perl-5.8.8-r7"
69 +
70 +PATCHES=(
71 + "${FILESDIR}/${PV}/0001-Add-patch-from-gentoo-as-stolen-from-debian.patch"
72 + "${FILESDIR}/${PV}/0002-Add-RUNPATH-patch-from-gentoo.patch"
73 +)
74 +src_prepare (){
75 + edos2unix "${S}/lib/ExtUtils/MM_Unix.pm"
76 + edos2unix "${S}/lib/ExtUtils/MM_Any.pm"
77 +
78 + perl-module_src_prepare
79 +}
80 +SRC_TEST=do
81
82 diff --git a/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0001-Add-patch-from-gentoo-as-stolen-from-debian.patch b/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0001-Add-patch-from-gentoo-as-stolen-from-debian.patch
83 new file mode 100644
84 index 0000000..7290d04
85 --- /dev/null
86 +++ b/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0001-Add-patch-from-gentoo-as-stolen-from-debian.patch
87 @@ -0,0 +1,84 @@
88 +From af42678f775138c9c3cfb7d5a0141b0f1bb727bf Mon Sep 17 00:00:00 2001
89 +From: Kent Fredric <kentfredric@×××××.com>
90 +Date: Thu, 18 Nov 2010 15:30:36 +1300
91 +Subject: [PATCH 1/2] Add patch from ::gentoo as stolen from debian.
92 +
93 +Don't install .packlist or perllocal.pod for perl or vendor.
94 +Extracted from the debian patchset.
95 +See also bug #241834
96 +---
97 + lib/ExtUtils/MM_Unix.pm | 25 +------------------------
98 + 1 files changed, 1 insertions(+), 24 deletions(-)
99 +
100 +diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
101 +index 10fcdf4..642b677 100644
102 +--- a/lib/ExtUtils/MM_Unix.pm
103 ++++ b/lib/ExtUtils/MM_Unix.pm
104 +@@ -2047,8 +2047,6 @@ doc__install : doc_site_install
105 +
106 + pure_perl_install :: all
107 + $(NOECHO) $(MOD_INSTALL) \
108 +- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
109 +- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
110 + $(INST_LIB) $(DESTINSTALLPRIVLIB) \
111 + $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
112 + $(INST_BIN) $(DESTINSTALLBIN) \
113 +@@ -2074,8 +2072,6 @@ pure_site_install :: all
114 +
115 + pure_vendor_install :: all
116 + $(NOECHO) $(MOD_INSTALL) \
117 +- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
118 +- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
119 + $(INST_LIB) $(DESTINSTALLVENDORLIB) \
120 + $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
121 + $(INST_BIN) $(DESTINSTALLVENDORBIN) \
122 +@@ -2084,15 +2080,6 @@ pure_vendor_install :: all
123 + $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
124 +
125 + doc_perl_install :: all
126 +- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
127 +- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
128 +- -$(NOECHO) $(DOC_INSTALL) \
129 +- "Module" "$(NAME)" \
130 +- "installed into" "$(INSTALLPRIVLIB)" \
131 +- LINKTYPE "$(LINKTYPE)" \
132 +- VERSION "$(VERSION)" \
133 +- EXE_FILES "$(EXE_FILES)" \
134 +- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
135 +
136 + doc_site_install :: all
137 + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
138 +@@ -2106,15 +2093,6 @@ doc_site_install :: all
139 + >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
140 +
141 + doc_vendor_install :: all
142 +- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
143 +- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
144 +- -$(NOECHO) $(DOC_INSTALL) \
145 +- "Module" "$(NAME)" \
146 +- "installed into" "$(INSTALLVENDORLIB)" \
147 +- LINKTYPE "$(LINKTYPE)" \
148 +- VERSION "$(VERSION)" \
149 +- EXE_FILES "$(EXE_FILES)" \
150 +- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
151 +
152 + };
153 +
154 +@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
155 + $(NOECHO) $(NOOP)
156 +
157 + uninstall_from_perldirs ::
158 +- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
159 +
160 + uninstall_from_sitedirs ::
161 + $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
162 +
163 + uninstall_from_vendordirs ::
164 +- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
165 ++
166 + };
167 +
168 + join("",@m);
169 +--
170 +1.7.4.rc1
171 +
172
173 diff --git a/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0002-Add-RUNPATH-patch-from-gentoo.patch b/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0002-Add-RUNPATH-patch-from-gentoo.patch
174 new file mode 100644
175 index 0000000..30feaa8
176 --- /dev/null
177 +++ b/perl-core/ExtUtils-MakeMaker/files/6.571.0_rc/0002-Add-RUNPATH-patch-from-gentoo.patch
178 @@ -0,0 +1,30 @@
179 +From a748ae9e83e90244b0d48147085fc223743ebd8a Mon Sep 17 00:00:00 2001
180 +From: Kent Fredric <kentfredric@×××××.com>
181 +Date: Thu, 18 Nov 2010 15:38:06 +1300
182 +Subject: [PATCH 2/2] Add RUNPATH patch from ::gentoo
183 +
184 +---
185 + lib/ExtUtils/MM_Any.pm | 7 +++++++
186 + 1 files changed, 7 insertions(+), 0 deletions(-)
187 +
188 +diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm
189 +index 3ea0947..dde1628 100644
190 +--- a/lib/ExtUtils/MM_Any.pm
191 ++++ b/lib/ExtUtils/MM_Any.pm
192 +@@ -1900,6 +1900,13 @@ CODE
193 + # LD_RUN_PATH now computed by ExtUtils::Liblist
194 + ($self->{EXTRALIBS}, $self->{BSLOADLIBS},
195 + $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
196 ++ # We do not want the build root in RPATH
197 ++ if ( exists $ENV{PORTAGE_TMPDIR} ){
198 ++ # If we have a PORTAGE_TMPDIR set, strip that, as just testing for
199 ++ # /usr and /opt might not be sufficient.
200 ++ $self->{LD_RUN_PATH} = join ':', grep !/^\Q$ENV{PORTAGE_TMPDIR}/,
201 ++ split /:/, $self->{LD_RUN_PATH};
202 ++ }
203 + last;
204 + }
205 + }
206 +--
207 +1.7.4.rc1
208 +