Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl: ChangeLog perl-5.12.2-r4.ebuild
Date: Sun, 28 Nov 2010 11:53:34
Message-Id: 20101128115304.A817D20051@flycatcher.gentoo.org
1 tove 10/11/28 11:53:04
2
3 Modified: ChangeLog
4 Added: perl-5.12.2-r4.ebuild
5 Log:
6 Bump core CGI-3.50 (#345845)
7
8 (Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.343 dev-lang/perl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.343&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?rev=1.343&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/ChangeLog?r1=1.342&r2=1.343
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v
20 retrieving revision 1.342
21 retrieving revision 1.343
22 diff -u -r1.342 -r1.343
23 --- ChangeLog 15 Nov 2010 18:57:06 -0000 1.342
24 +++ ChangeLog 28 Nov 2010 11:53:04 -0000 1.343
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lang/perl
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.342 2010/11/15 18:57:06 tove Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.343 2010/11/28 11:53:04 tove Exp $
30 +
31 +*perl-5.12.2-r4 (28 Nov 2010)
32 +
33 + 28 Nov 2010; Torsten Veller <tove@g.o> +perl-5.12.2-r4.ebuild:
34 + Bump core CGI-3.50 (#345845)
35
36 15 Nov 2010; Torsten Veller <tove@g.o> -perl-5.12.1-r1.ebuild,
37 -perl-5.12.1-r2.ebuild, -perl-5.12.2.ebuild:
38
39
40
41 1.1 dev-lang/perl/perl-5.12.2-r4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.12.2-r4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/perl-5.12.2-r4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: perl-5.12.2-r4.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.2-r4.ebuild,v 1.1 2010/11/28 11:53:04 tove Exp $
51
52 EAPI=3
53
54 inherit eutils alternatives flag-o-matic toolchain-funcs multilib
55
56 PATCH_VER=7
57
58 PERL_OLDVERSEN="5.12.1 5.12.0"
59
60 SHORT_PV="${PV%.*}"
61 MY_P="perl-${PV/_rc/-RC}"
62 MY_PV="${PV%_rc*}"
63
64 DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
65
66 SRC_URI="
67 mirror://cpan/src/${MY_P}.tar.bz2
68 mirror://cpan/authors/id/J/JE/JESSE/${MY_P}.tar.bz2
69 mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
70 http://dev.gentoo.org/~tove/files/${MY_P}-${PATCH_VER}.tar.bz2"
71 # mirror://cpan/src/${MY_P}.tar.bz2
72 # mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
73 HOMEPAGE="http://www.perl.org/"
74
75 LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
76 SLOT="0"
77 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
78 IUSE="berkdb build debug doc gdbm ithreads"
79
80 COMMON_DEPEND="berkdb? ( sys-libs/db )
81 gdbm? ( >=sys-libs/gdbm-1.8.3 )
82 >=sys-devel/libperl-5.10.1
83 !!<sys-devel/libperl-5.10.1
84 app-arch/bzip2
85 sys-libs/zlib"
86 DEPEND="${COMMON_DEPEND}
87 elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
88 RDEPEND="${COMMON_DEPEND}"
89 PDEPEND=">=app-admin/perl-cleaner-2.5"
90
91 S="${WORKDIR}/${MY_P}"
92
93 dual_scripts() {
94 src_remove_dual_scripts perl-core/Archive-Tar 1.54 ptar ptardiff
95 src_remove_dual_scripts perl-core/Digest-SHA 5.47 shasum
96 src_remove_dual_scripts perl-core/CPAN 1.9456 cpan
97 src_remove_dual_scripts perl-core/CPANPLUS 0.90 cpanp cpan2dist cpanp-run-perl
98 src_remove_dual_scripts perl-core/Encode 2.39 enc2xs piconv
99 src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56 instmodsh
100 src_remove_dual_scripts perl-core/Module-Build 0.3603 config_data
101 src_remove_dual_scripts perl-core/Module-CoreList 2.38 corelist
102 src_remove_dual_scripts perl-core/PodParser 1.37 pod2usage podchecker podselect
103 src_remove_dual_scripts perl-core/Test-Harness 3.17 prove
104 src_remove_dual_scripts perl-core/podlators 2.3.1 pod2man pod2text
105 }
106
107 pkg_setup() {
108 case ${CHOST} in
109 *-freebsd*) osname="freebsd" ;;
110 *-dragonfly*) osname="dragonfly" ;;
111 *-netbsd*) osname="netbsd" ;;
112 *-openbsd*) osname="openbsd" ;;
113 *-darwin*) osname="darwin" ;;
114 *) osname="linux" ;;
115 esac
116
117 if use ithreads ; then
118 mythreading="-multi"
119 myarch="${CHOST%%-*}-${osname}-thread"
120 else
121 myarch="${CHOST%%-*}-${osname}"
122 fi
123 if use debug ; then
124 myarch="${myarch}-debug"
125 fi
126
127 LIBPERL="libperl$(get_libname ${MY_PV} )"
128 PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
129 ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
130 SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
131 SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
132 VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
133 VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
134
135 if use ithreads ; then
136 echo ""
137 ewarn "THREADS WARNING:"
138 ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
139 ewarn "interpreter-level threading enabled."
140 ewarn "Threading is not supported by all applications "
141 ewarn "that compile against perl. You use threading at "
142 ewarn "your own discretion. "
143 fi
144 if has_version "<dev-lang/perl-${SHORT_PV}" ; then
145 echo ""
146 ewarn "UPDATE THE PERL MODULES:"
147 ewarn "After updating dev-lang/perl you must reinstall"
148 ewarn "the installed perl modules."
149 ewarn "Use: perl-cleaner --all"
150 elif has_version dev-lang/perl ; then
151 # doesnot work
152 #if ! has_version dev-lang/perl[ithreads=,debug=] ; then
153 #if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
154 if ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
155 ( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
156 ( use debug && ! has_version dev-lang/perl[debug] ) || \
157 ( ! use debug && has_version dev-lang/perl[debug] ) ; then
158 echo ""
159 ewarn "TOGGLED USE-FLAGS WARNING:"
160 ewarn "You changed one of the use-flags ithreads or debug."
161 ewarn "You must rebuild all perl-modules installed."
162 ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
163 fi
164 fi
165 dual_scripts
166 }
167
168 src_prepare_update_patchlevel_h() {
169 [[ -f ${WORKDIR}/perl-patch/series ]] || return 0
170
171 while read patch level ; do
172 sed -i -e "s/^\t,NULL$/ ,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
173 done < "${WORKDIR}"/perl-patch/series
174 }
175
176 src_prepare() {
177 EPATCH_SOURCE="${WORKDIR}/perl-patch" \
178 EPATCH_SUFFIX="diff" \
179 EPATCH_FORCE="yes" \
180 epatch
181
182 src_prepare_update_patchlevel_h
183
184 # pod/perltoc.pod fails
185 # lib/ExtUtils/t/Embed.t fails
186 ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
187 ln -s ${LIBPERL} libperl$(get_libname )
188 }
189
190 myconf() {
191 # the myconf array is declared in src_configure
192 myconf=( "${myconf[@]}" "$@" )
193 }
194
195 src_configure() {
196 declare -a myconf
197
198 export LC_ALL="C"
199
200 # some arches and -O do not mix :)
201 use ppc && replace-flags -O? -O1
202 # Perl has problems compiling with -Os in your flags with glibc
203 use elibc_uclibc || replace-flags "-Os" "-O2"
204 # This flag makes compiling crash in interesting ways
205 filter-flags "-malign-double"
206 # Fixes bug #97645
207 use ppc && filter-flags "-mpowerpc-gpopt"
208 # Fixes bug #143895 on gcc-4.1.1
209 filter-flags "-fsched2-use-superblocks"
210
211 # this is needed because gcc 3.3-compiled kernels will hang
212 # the machine trying to run this test - check with `Kumba
213 # <rac@g.o> 2003.06.26
214 use mips && myconf -Dd_u32align
215
216 use sparc && myconf -Ud_longdbl
217
218 # 266337
219 export BUILD_BZIP2=0
220 export BZIP2_INCLUDE=/usr/include
221 export BZIP2_LIB=/usr/$(get_libdir)
222 cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
223 BUILD_ZLIB = False
224 INCLUDE = /usr/include
225 LIB = /usr/$(get_libdir)
226
227 OLD_ZLIB = False
228 GZIP_OS_CODE = AUTO_DETECT
229 EOF
230
231 # allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
232
233 myndbm='U'
234 mygdbm='U'
235 mydb='U'
236
237 if use gdbm ; then
238 mygdbm='D'
239 myndbm='D'
240 fi
241 if use berkdb ; then
242 mydb='D'
243 has_version '=sys-libs/db-1*' && myndbm='D'
244 fi
245
246 myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
247
248 if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
249 ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
250 myconf -Ui_db -Ui_ndbm
251 fi
252
253 use ithreads && myconf -Dusethreads
254
255 if use debug ; then
256 append-cflags "-g"
257 myconf -DDEBUGGING
258 elif [[ ${CFLAGS} == *-g* ]] ; then
259 myconf -DDEBUGGING=-g
260 else
261 myconf -DDEBUGGING=none
262 fi
263
264 if [[ -n ${PERL_OLDVERSEN} ]] ; then
265 local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
266 myconf -Dinc_version_list="$inclist"
267 fi
268 [[ -n "${ABI}" ]] && myconf "-Dusrinc=$(get_ml_incdir)"
269
270 [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
271
272 if [[ $(get_libdir) != "lib" ]] ; then
273 # We need to use " and not ', as the written config.sh use ' ...
274 myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
275 fi
276
277 sh Configure \
278 -des \
279 -Duseshrplib \
280 -Darchname="${myarch}" \
281 -Dcc="$(tc-getCC)" \
282 -Doptimize="${CFLAGS}" \
283 -Dldflags="${LDFLAGS}" \
284 -Dprefix='/usr' \
285 -Dsiteprefix='/usr' \
286 -Dvendorprefix='/usr' \
287 -Dscriptdir='/usr/bin' \
288 -Dprivlib="${PRIV_LIB}" \
289 -Darchlib="${ARCH_LIB}" \
290 -Dsitelib="${SITE_LIB}" \
291 -Dsitearch="${SITE_ARCH}" \
292 -Dvendorlib="${VENDOR_LIB}" \
293 -Dvendorarch="${VENDOR_ARCH}" \
294 -Dman1dir=/usr/share/man/man1 \
295 -Dman3dir=/usr/share/man/man3 \
296 -Dsiteman1dir=/usr/share/man/man1 \
297 -Dsiteman3dir=/usr/share/man/man3 \
298 -Dvendorman1dir=/usr/share/man/man1 \
299 -Dvendorman3dir=/usr/share/man/man3 \
300 -Dman1ext='1' \
301 -Dman3ext='3pm' \
302 -Dlibperl="${LIBPERL}" \
303 -Dlocincpth=' ' \
304 -Duselargefiles \
305 -Dd_semctl_semun \
306 -Dcf_by='Gentoo' \
307 -Dmyhostname='localhost' \
308 -Dperladmin='root@localhost' \
309 -Dinstallusrbinperl='n' \
310 -Ud_csh \
311 -Uusenm \
312 "${myconf[@]}" || die "Unable to configure"
313 }
314
315 src_compile() {
316 # bug 331113
317 emake -j1 || die "emake failed"
318 }
319
320 src_test() {
321 if [[ ${EUID} == 0 ]] ; then
322 ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
323 return 0
324 fi
325 use elibc_uclibc && export MAKEOPTS+=" -j1"
326 TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
327 make test_harness || die "test failed"
328 }
329
330 src_install() {
331 local i
332 local coredir="${ARCH_LIB}/CORE"
333
334 # # Fix for "stupid" modules and programs
335 # dodir ${SITE_ARCH} ${SITE_LIB}
336 # keepdir "${VENDOR_ARCH}" #338802 for enc2xs
337
338 local installtarget=install
339 if use build ; then
340 installtarget=install.perl
341 fi
342 make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
343
344 rm -f "${D}"/usr/bin/perl
345 ln -s perl${MY_PV} "${D}"/usr/bin/perl
346
347 dolib.so "${D}"/${coredir}/${LIBPERL} || die
348 dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
349 dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
350 rm -f "${D}"/${coredir}/${LIBPERL}
351 dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
352 dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
353 dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
354
355 rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
356
357 # # A poor fix for the miniperl issues
358 # dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
359 # fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
360 # dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
361 # fperms 0755 /usr/bin/xsubpp
362
363 # This removes ${D} from Config.pm
364 for i in $(find "${D}" -iname "Config.pm" ) ; do
365 einfo "Removing ${D} from ${i}..."
366 sed -i -e "s:${D}::" "${i}" || die "Sed failed"
367 done
368
369 find "${D}" -type f -name .packlist -delete || die
370
371 # Note: find out from psm why we would need/want this.
372 # ( use berkdb && has_version '=sys-libs/db-1*' ) ||
373 # find "${D}" -name "*NDBM*" | xargs rm -f
374
375 dodoc Changes* README AUTHORS || die
376
377 if use doc ; then
378 # HTML Documentation
379 # We expect errors, warnings, and such with the following.
380
381 dodir /usr/share/doc/${PF}/html
382 LD_LIBRARY_PATH=. ./perl installhtml \
383 --podroot='.' \
384 --podpath='lib:ext:pod:vms' \
385 --recurse \
386 --htmldir="${D}/usr/share/doc/${PF}/html" \
387 --libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
388 fi
389
390 if use build ; then
391 src_remove_extra_files
392 fi
393
394 dual_scripts
395 }
396
397 pkg_postinst() {
398 dual_scripts
399
400 if [[ "${ROOT}" = "/" ]] ; then
401 local INC DIR file
402 INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
403 ebegin "Removing old .ph files"
404 for DIR in ${INC} ; do
405 if [[ -d "${DIR}" ]] ; then
406 for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
407 rm -f "${file}"
408 einfo "<< ${file}"
409 done
410 fi
411 done
412 # Silently remove the now empty dirs
413 for DIR in ${INC} ; do
414 if [[ -d "${DIR}" ]] ; then
415 find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
416 fi
417 done
418 if ! use build ; then
419 ebegin "Generating ConfigLocal.pm (ignore any error)"
420 enc2xs -C
421 fi
422 ebegin "Converting C header files to the corresponding Perl format (ignore any error)"
423 pushd /usr/include >/dev/null
424 h2ph -Q -a -d ${ARCH_LIB} \
425 asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
426 sys/socket.h sys/time.h wait.h sysexits.h
427 popd >/dev/null
428
429 # This has been moved into a function because rumor has it that a future release
430 # of portage will allow us to check what version was just removed - which means
431 # we will be able to invoke this only as needed :)
432 # Tried doing this via -z, but $INC is too big...
433 #if [[ "${INC}x" != "x" ]]; then
434 # cleaner_msg
435 #fi
436 fi
437 }
438
439 pkg_postrm(){
440 dual_scripts
441
442 # if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
443 # ebegin "Removing ConfigLocal.pm"
444 # rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
445 # fi
446 }
447
448 cleaner_msg() {
449 eerror "You have had multiple versions of perl. It is recommended"
450 eerror "that you run perl-cleaner now. perl-cleaner will"
451 eerror "assist with this transition. This script is capable"
452 eerror "of cleaning out old .ph files, rebuilding modules for "
453 eerror "your new version of perl, as well as re-emerging"
454 eerror "applications that compiled against your old libperl$(get_libname)"
455 eerror
456 eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
457 eerror "Part of the rebuilding of applications compiled against "
458 eerror "your old libperl involves temporarily unmerging"
459 eerror "them - interruptions could leave you with unmerged"
460 eerror "packages before they can be remerged."
461 eerror ""
462 eerror "If you have run perl-cleaner and a package still gives"
463 eerror "you trouble, and re-emerging it fails to correct"
464 eerror "the problem, please check http://bugs.gentoo.org/"
465 eerror "for more information or to report a bug."
466 eerror ""
467 }
468
469 src_remove_dual_scripts() {
470
471 local i pkg ver ff
472 pkg="$1"
473 ver="$2"
474 shift 2
475 if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
476 for i in "$@" ; do
477 alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
478 if [[ ${i} != cpanp-run-perl ]] ; then
479 ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
480 ff=${ff##*.1}
481 alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
482 fi
483 done
484 elif has "${EBUILD_PHASE:-none}" "setup" ; then
485 for i in "$@" ; do
486 if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
487 has_version ${pkg} && ewarn "You must reinstall $pkg !"
488 break
489 fi
490 done
491 else
492 for i in "$@" ; do
493 if ! [[ -f "${D}"/usr/bin/${i} ]] ; then
494 use build || ewarn "/usr/bin/${i} does not exist!"
495 continue
496 fi
497 mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
498 if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
499 mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
500 else
501 echo "/usr/share/man/man1/${i}.1 does not exist!"
502 fi
503 done
504 fi
505 }
506
507 src_remove_extra_files() {
508 local prefix="./usr" # ./ is important
509 local bindir="${prefix}/bin"
510 local libdir="${prefix}/$(get_libdir)"
511
512 # I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
513 # Then, I added several files to get GNU autotools running
514 # FIXME: should this be in a separated file to be sourced?
515 local MINIMAL_PERL_INSTALL="
516 ${bindir}/h2ph
517 ${bindir}/perl
518 ${bindir}/perl${MY_PV}
519 ${bindir}/pod2man
520 ${libdir}/${LIBPERL}
521 ${libdir}/libperl$(get_libname)
522 ${libdir}/libperl$(get_libname ${SHORT_PV})
523 .${PRIV_LIB}/AutoLoader.pm
524 .${PRIV_LIB}/B/Deparse.pm
525 .${PRIV_LIB}/Carp.pm
526 .${PRIV_LIB}/Carp/Heavy.pm
527 .${PRIV_LIB}/Class/Struct.pm
528 .${PRIV_LIB}/DirHandle.pm
529 .${PRIV_LIB}/Exporter.pm
530 .${PRIV_LIB}/Exporter/Heavy.pm
531 .${PRIV_LIB}/ExtUtils/Command.pm
532 .${PRIV_LIB}/ExtUtils/Command/MM.pm
533 .${PRIV_LIB}/ExtUtils/Constant.pm
534 .${PRIV_LIB}/ExtUtils/Constant/Base.pm
535 .${PRIV_LIB}/ExtUtils/Constant/Utils.pm
536 .${PRIV_LIB}/ExtUtils/Constant/XS.pm
537 .${PRIV_LIB}/ExtUtils/Embed.pm
538 .${PRIV_LIB}/ExtUtils/Install.pm
539 .${PRIV_LIB}/ExtUtils/Installed.pm
540 .${PRIV_LIB}/ExtUtils/Liblist.pm
541 .${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
542 .${PRIV_LIB}/ExtUtils/MM.pm
543 .${PRIV_LIB}/ExtUtils/MM_Any.pm
544 .${PRIV_LIB}/ExtUtils/MM_MacOS.pm
545 .${PRIV_LIB}/ExtUtils/MM_Unix.pm
546 .${PRIV_LIB}/ExtUtils/MY.pm
547 .${PRIV_LIB}/ExtUtils/MakeMaker.pm
548 .${PRIV_LIB}/ExtUtils/Manifest.pm
549 .${PRIV_LIB}/ExtUtils/Miniperl.pm
550 .${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
551 .${PRIV_LIB}/ExtUtils/Mksymlists.pm
552 .${PRIV_LIB}/ExtUtils/Packlist.pm
553 .${PRIV_LIB}/ExtUtils/testlib.pm
554 .${PRIV_LIB}/File/Basename.pm
555 .${PRIV_LIB}/File/Compare.pm
556 .${PRIV_LIB}/File/Copy.pm
557 .${PRIV_LIB}/File/Find.pm
558 .${PRIV_LIB}/File/Path.pm
559 .${PRIV_LIB}/File/stat.pm
560 .${PRIV_LIB}/FileHandle.pm
561 .${PRIV_LIB}/Getopt/Long.pm
562 .${PRIV_LIB}/Getopt/Std.pm
563 .${PRIV_LIB}/IPC/Open2.pm
564 .${PRIV_LIB}/IPC/Open3.pm
565 .${PRIV_LIB}/PerlIO.pm
566 .${PRIV_LIB}/Pod/InputObjects.pm
567 .${PRIV_LIB}/Pod/Man.pm
568 .${PRIV_LIB}/Pod/ParseLink.pm
569 .${PRIV_LIB}/Pod/Parser.pm
570 .${PRIV_LIB}/Pod/Select.pm
571 .${PRIV_LIB}/Pod/Text.pm
572 .${PRIV_LIB}/Pod/Usage.pm
573 .${PRIV_LIB}/SelectSaver.pm
574 .${PRIV_LIB}/Symbol.pm
575 .${PRIV_LIB}/Text/ParseWords.pm
576 .${PRIV_LIB}/Text/Tabs.pm
577 .${PRIV_LIB}/Text/Wrap.pm
578 .${PRIV_LIB}/Tie/Hash.pm
579 .${PRIV_LIB}/Time/Local.pm
580 .${PRIV_LIB}/XSLoader.pm
581 .${PRIV_LIB}/autouse.pm
582 .${PRIV_LIB}/base.pm
583 .${PRIV_LIB}/bigint.pm
584 .${PRIV_LIB}/bignum.pm
585 .${PRIV_LIB}/bigrat.pm
586 .${PRIV_LIB}/blib.pm
587 .${PRIV_LIB}/bytes.pm
588 .${PRIV_LIB}/bytes_heavy.pl
589 .${PRIV_LIB}/charnames.pm
590 .${PRIV_LIB}/constant.pm
591 .${PRIV_LIB}/diagnostics.pm
592 .${PRIV_LIB}/fields.pm
593 .${PRIV_LIB}/filetest.pm
594 .${PRIV_LIB}/if.pm
595 .${PRIV_LIB}/integer.pm
596 .${PRIV_LIB}/less.pm
597 .${PRIV_LIB}/locale.pm
598 .${PRIV_LIB}/open.pm
599 .${PRIV_LIB}/overload.pm
600 .${PRIV_LIB}/sigtrap.pm
601 .${PRIV_LIB}/sort.pm
602 .${PRIV_LIB}/stat.pl
603 .${PRIV_LIB}/strict.pm
604 .${PRIV_LIB}/subs.pm
605 .${PRIV_LIB}/unicore/To/Fold.pl
606 .${PRIV_LIB}/unicore/To/Lower.pl
607 .${PRIV_LIB}/unicore/To/Upper.pl
608 .${PRIV_LIB}/utf8.pm
609 .${PRIV_LIB}/utf8_heavy.pl
610 .${PRIV_LIB}/vars.pm
611 .${PRIV_LIB}/vmsish.pm
612 .${PRIV_LIB}/warnings
613 .${PRIV_LIB}/warnings.pm
614 .${PRIV_LIB}/warnings/register.pm
615 .${ARCH_LIB}/B.pm
616 .${ARCH_LIB}/CORE/libperl$(get_libname)
617 .${ARCH_LIB}/Config.pm
618 .${ARCH_LIB}/Config_heavy.pl
619 .${ARCH_LIB}/Cwd.pm
620 .${ARCH_LIB}/Data/Dumper.pm
621 .${ARCH_LIB}/DynaLoader.pm
622 .${ARCH_LIB}/Errno.pm
623 .${ARCH_LIB}/Fcntl.pm
624 .${ARCH_LIB}/File/Glob.pm
625 .${ARCH_LIB}/File/Spec.pm
626 .${ARCH_LIB}/File/Spec/Unix.pm
627 .${ARCH_LIB}/IO.pm
628 .${ARCH_LIB}/IO/File.pm
629 .${ARCH_LIB}/IO/Handle.pm
630 .${ARCH_LIB}/IO/Pipe.pm
631 .${ARCH_LIB}/IO/Seekable.pm
632 .${ARCH_LIB}/IO/Select.pm
633 .${ARCH_LIB}/IO/Socket.pm
634 .${ARCH_LIB}/IO/Socket/INET.pm
635 .${ARCH_LIB}/IO/Socket/UNIX.pm
636 .${ARCH_LIB}/List/Util.pm
637 .${ARCH_LIB}/NDBM_File.pm
638 .${ARCH_LIB}/POSIX.pm
639 .${ARCH_LIB}/Scalar/Util.pm
640 .${ARCH_LIB}/Socket.pm
641 .${ARCH_LIB}/Storable.pm
642 .${ARCH_LIB}/attributes.pm
643 .${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
644 .${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
645 .${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
646 .${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
647 .${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
648 .${ARCH_LIB}/auto/IO/IO$(get_libname)
649 .${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
650 .${ARCH_LIB}/auto/POSIX/autosplit.ix
651 .${ARCH_LIB}/auto/POSIX/fstat.al
652 .${ARCH_LIB}/auto/POSIX/load_imports.al
653 .${ARCH_LIB}/auto/POSIX/stat.al
654 .${ARCH_LIB}/auto/POSIX/tmpfile.al
655 .${ARCH_LIB}/auto/Socket/Socket$(get_libname)
656 .${ARCH_LIB}/auto/Storable/Storable$(get_libname)
657 .${ARCH_LIB}/auto/Storable/_retrieve.al
658 .${ARCH_LIB}/auto/Storable/_store.al
659 .${ARCH_LIB}/auto/Storable/autosplit.ix
660 .${ARCH_LIB}/auto/Storable/retrieve.al
661 .${ARCH_LIB}/auto/Storable/store.al
662 .${ARCH_LIB}/auto/re/re$(get_libname)
663 .${ARCH_LIB}/encoding.pm
664 .${ARCH_LIB}/lib.pm
665 .${ARCH_LIB}/ops.pm
666 .${ARCH_LIB}/re.pm
667 .${ARCH_LIB}/threads.pm
668 "
669
670 pushd "${D}" > /dev/null
671 # Remove cruft
672 einfo "Removing files that are not in the minimal install"
673 echo "${MINIMAL_PERL_INSTALL}"
674 for f in $(find . -type f ) ; do
675 has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
676 done
677 # Remove empty directories
678 find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
679 #for f in ${MINIMAL_PERL_INSTALL} ; do
680 # [[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
681 #done
682 popd > /dev/null
683 }