From 1719adcfd15d25a2e789cd70cf0ac9d7133f2619 Mon Sep 17 00:00:00 2001 From: Torsten Veller Date: Sat, 11 Jun 2011 07:47:18 +0200 Subject: [bump] dev-lang/perl-5.12.4_rc1 (Portage version: 2.2.0_alpha38/git/Linux x86_64, signed Manifest commit with key 0x4E046AEC) --- dev-lang/perl/ChangeLog | 5 + dev-lang/perl/Manifest | 11 +- dev-lang/perl/perl-5.12.4_rc1.ebuild | 637 +++++++++++++++++++++++++++++++++++ 3 files changed, 649 insertions(+), 4 deletions(-) create mode 100644 dev-lang/perl/perl-5.12.4_rc1.ebuild diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog index 98a8021cc..4f0391607 100644 --- a/dev-lang/perl/ChangeLog +++ b/dev-lang/perl/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*perl-5.12.4_rc1 (11 Jun 2011) + + 11 Jun 2011; Torsten Veller +perl-5.12.4_rc1.ebuild: + Version bump + *perl-5.14.1_rc1 (11 Jun 2011) 11 Jun 2011; Torsten Veller +perl-5.14.1_rc1.ebuild: diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest index a7dae02ed..215ad46ad 100644 --- a/dev-lang/perl/Manifest +++ b/dev-lang/perl/Manifest @@ -1,18 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +DIST perl-5.12.4-RC1-2.tar.bz2 8063 RMD160 b5606a01d97c2147fc75058e8c5f5814e4192d9e SHA1 e43af8ba66db6c358cca4f3d5b8cfb0479f8e7b5 SHA256 187045359d950e397e483568e2b9b9a1b1ec7e6d501bc274908263b715367241 +DIST perl-5.12.4-RC1.tar.bz2 12347583 RMD160 23e00945b5e9a790312c91eee62f2037da106514 SHA1 c46cfc3016367115898d9de8d61847d090b6bd18 SHA256 cbb1ba5705d5861da6c79e3472d1c96c972bc2985e89f072e6992b125a690bb7 DIST perl-5.14.0-1.tar.bz2 5074 RMD160 4b177a5a803757151420f53a3cdf9a0d890b0b28 SHA1 f9bed53967415a677dfe247810bb5f37599337bf SHA256 5fa81bde2e8ca4f8a9c60203d4c2d5f7d388fda648a669ae474881317cd2baee DIST perl-5.14.0.tar.bz2 13250162 RMD160 15aeb6c272d01ba0bbf938c9b198f03bd787b5e7 SHA1 da5e991f9d4a6728eccfc190c5ddbed3c02a94fe SHA256 ea027d0f5279b7465f69ee942ea4015296f90429f1ead7a99fe3b03a475ee821 DIST perl-5.14.1-RC1-1.tar.bz2 5074 RMD160 4b177a5a803757151420f53a3cdf9a0d890b0b28 SHA1 f9bed53967415a677dfe247810bb5f37599337bf SHA256 5fa81bde2e8ca4f8a9c60203d4c2d5f7d388fda648a669ae474881317cd2baee DIST perl-5.14.1-RC1.tar.bz2 13264644 RMD160 c9bff24c917e4feb79db407f78950a21863c312e SHA1 1d60853a2cc0fc9c6510a639ce5e0dd989d74bbc SHA256 8036e9874a023e38b84661aac0bb711f25c0b4b4f108a3c4d287436ba520e5bb +EBUILD perl-5.12.4_rc1.ebuild 19433 RMD160 b9d65439d39054beceda9bfa00adc2c588953108 SHA1 998ceb5ebd20bbeb2fc84e1f1b8072fb518e20e0 SHA256 e4decf74216442e5067c3c68ce1d79cd388e727f2bcb6349c112be045de4d629 EBUILD perl-5.14.0.ebuild 19389 RMD160 aae9f6f5cbfc31b49604b878cbe71211075c7efd SHA1 9f53a8485a66ac74f96f76299364eeaebb9417ba SHA256 21c0b9c2e32c2c5cad1e0aad9dafb0af7732db2fddf70825fee23e7e4719e8c0 EBUILD perl-5.14.1_rc1.ebuild 19369 RMD160 9ada37b3f7d9a49484fd65c316c9b45d406a0e31 SHA1 9d1232e30b8c716beb97314f1a6d69b1a5b23f9a SHA256 fdf47e5aa4696d53817a080034d4a4cb2c03c63d18f59920f109c9aa2f243a37 -MISC ChangeLog 998 RMD160 a3cd53ec3f4656c7f8f41c52e5582ad1ad18a93a SHA1 69e86cf3441932f5ec77de6c76f8082805c0a596 SHA256 48eac3c9a9908a2cb2d87a4e6cab6d29bd311273ddfa5b6d988a52c1d1e722d5 +MISC ChangeLog 1119 RMD160 441aa2880ea03af1bc6a0e897c339e93f3ef6d2d SHA1 7bdaf0af5edd1c1ed079858a55b91c22869e0cbf SHA256 cddc821e8ab5cba9f9e9560eec385ea8c8307097e9023ef117b95f90509dd726 MISC metadata.xml 257 RMD160 65b05c35ca6c34287bd7051e6dfbbf292145d148 SHA1 89f758f0b2802d2465f4b729d678f12eea56303d SHA256 94d99e58fcedfe7951797e5cbd70790c21b87c1e07a7003f650632bb0a4f2300 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk3y+dsACgkQV3J2n04EauzlwgCfUOBmFXjhk7N9LXi8mibJHk6X -FkMAoM8NwyYGJ52124h/C0LL6BQP504m -=ayJB +iEYEAREIAAYFAk3zAWYACgkQV3J2n04EauyGGgCgyok6UEnw0WDvKhv1Pmo5WI4s +ciEAoJxIP9VCdeSuICf3rYzl7dMDWVXt +=d/oO -----END PGP SIGNATURE----- diff --git a/dev-lang/perl/perl-5.12.4_rc1.ebuild b/dev-lang/perl/perl-5.12.4_rc1.ebuild new file mode 100644 index 000000000..c677b33fc --- /dev/null +++ b/dev-lang/perl/perl-5.12.4_rc1.ebuild @@ -0,0 +1,637 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.3-r1.ebuild,v 1.7 2011/05/07 16:36:19 armin76 Exp $ + +EAPI=3 + +inherit eutils alternatives flag-o-matic toolchain-funcs multilib + +PATCH_VER=2 + +PERL_OLDVERSEN="5.12.2 5.12.1 5.12.0" + +SHORT_PV="${PV%.*}" +MY_P="perl-${PV/_rc/-RC}" +MY_PV="${PV%_rc*}" + +DESCRIPTION="Larry Wall's Practical Extraction and Report Language" + +SRC_URI=" + mirror://cpan/src/${MY_P}.tar.bz2 + mirror://cpan/authors/id/L/LB/LBROCARD/${MY_P}.tar.bz2 + mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 + http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2" +# mirror://cpan/src/${MY_P}.tar.bz2 +# mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2 +HOMEPAGE="http://www.perl.org/" + +LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="berkdb build debug doc gdbm ithreads" + +COMMON_DEPEND="berkdb? ( sys-libs/db ) + gdbm? ( >=sys-libs/gdbm-1.8.3 ) + >=sys-devel/libperl-5.10.1 + !! 2003.06.26 + use mips && myconf -Dd_u32align + + use sparc && myconf -Ud_longdbl + + # 266337 + export BUILD_BZIP2=0 + export BZIP2_INCLUDE=/usr/include + export BZIP2_LIB=/usr/$(get_libdir) + cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in" + BUILD_ZLIB = False + INCLUDE = /usr/include + LIB = /usr/$(get_libdir) + + OLD_ZLIB = False + GZIP_OS_CODE = AUTO_DETECT + EOF + + # allow either gdbm to provide ndbm (in ) or db1 + + myndbm='U' + mygdbm='U' + mydb='U' + + if use gdbm ; then + mygdbm='D' + myndbm='D' + fi + if use berkdb ; then + mydb='D' + has_version '=sys-libs/db-1*' && myndbm='D' + fi + + myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db" + + if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then + ewarn "Perl will not be built with berkdb support, use gcc if you needed it..." + myconf -Ui_db -Ui_ndbm + fi + + use ithreads && myconf -Dusethreads + + if use debug ; then + append-cflags "-g" + myconf -DDEBUGGING + elif [[ ${CFLAGS} == *-g* ]] ; then + myconf -DDEBUGGING=-g + else + myconf -DDEBUGGING=none + fi + + if [[ -n ${PERL_OLDVERSEN} ]] ; then + local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done ) + myconf -Dinc_version_list="$inclist" + fi + + [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" + + if [[ $(get_libdir) != "lib" ]] ; then + # We need to use " and not ', as the written config.sh use ' ... + myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)" + fi + + sh Configure \ + -des \ + -Duseshrplib \ + -Darchname="${myarch}" \ + -Dcc="$(tc-getCC)" \ + -Doptimize="${CFLAGS}" \ + -Dldflags="${LDFLAGS}" \ + -Dprefix='/usr' \ + -Dsiteprefix='/usr' \ + -Dvendorprefix='/usr' \ + -Dscriptdir='/usr/bin' \ + -Dprivlib="${PRIV_LIB}" \ + -Darchlib="${ARCH_LIB}" \ + -Dsitelib="${SITE_LIB}" \ + -Dsitearch="${SITE_ARCH}" \ + -Dvendorlib="${VENDOR_LIB}" \ + -Dvendorarch="${VENDOR_ARCH}" \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dsiteman1dir=/usr/share/man/man1 \ + -Dsiteman3dir=/usr/share/man/man3 \ + -Dvendorman1dir=/usr/share/man/man1 \ + -Dvendorman3dir=/usr/share/man/man3 \ + -Dman1ext='1' \ + -Dman3ext='3pm' \ + -Dlibperl="${LIBPERL}" \ + -Dlocincpth=' ' \ + -Duselargefiles \ + -Dd_semctl_semun \ + -Dcf_by='Gentoo' \ + -Dmyhostname='localhost' \ + -Dperladmin='root@localhost' \ + -Dinstallusrbinperl='n' \ + -Ud_csh \ + -Uusenm \ + "${myconf[@]}" || die "Unable to configure" +} + +src_compile() { + # bug 331113 + emake -j1 || die "emake failed" +} + +src_test() { + if [[ ${EUID} == 0 ]] ; then + ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..." + return 0 + fi + use elibc_uclibc && export MAKEOPTS+=" -j1" + TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \ + make test_harness || die "test failed" +} + +src_install() { + local i + local coredir="${ARCH_LIB}/CORE" + +# # Fix for "stupid" modules and programs +# dodir ${SITE_ARCH} ${SITE_LIB} +# keepdir "${VENDOR_ARCH}" #338802 for enc2xs + + local installtarget=install + if use build ; then + installtarget=install.perl + fi + make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}" + + rm -f "${D}"/usr/bin/perl + ln -s perl${MY_PV} "${D}"/usr/bin/perl + + dolib.so "${D}"/${coredir}/${LIBPERL} || die + dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die + dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die + rm -f "${D}"/${coredir}/${LIBPERL} + dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL} + dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV}) + dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname) + + rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages" + +# # A poor fix for the miniperl issues +# dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp +# fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp +# dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp +# fperms 0755 /usr/bin/xsubpp + + # This removes ${D} from Config.pm + for i in $(find "${D}" -iname "Config.pm" ) ; do + einfo "Removing ${D} from ${i}..." + sed -i -e "s:${D}::" "${i}" || die "Sed failed" + done + + find "${D}" -type f -name .packlist -delete || die + + # Note: find out from psm why we would need/want this. + # ( use berkdb && has_version '=sys-libs/db-1*' ) || + # find "${D}" -name "*NDBM*" | xargs rm -f + + dodoc Changes* README AUTHORS || die + + if use doc ; then + # HTML Documentation + # We expect errors, warnings, and such with the following. + + dodir /usr/share/doc/${PF}/html + LD_LIBRARY_PATH=. ./perl installhtml \ + --podroot='.' \ + --podpath='lib:ext:pod:vms' \ + --recurse \ + --htmldir="${D}/usr/share/doc/${PF}/html" \ + --libpods='perlfunc:perlguts:perlvar:perlrun:perlop' + fi + + if use build ; then + src_remove_extra_files + fi + + dual_scripts +} + +pkg_postinst() { + dual_scripts + + if [[ "${ROOT}" = "/" ]] ; then + local INC DIR file + INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }') + einfo "Removing old .ph files" + for DIR in ${INC} ; do + if [[ -d "${DIR}" ]] ; then + for file in $(find "${DIR}" -name "*.ph" -type f ) ; do + rm -f "${file}" + einfo "<< ${file}" + done + fi + done + # Silently remove the now empty dirs + for DIR in ${INC} ; do + if [[ -d "${DIR}" ]] ; then + find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null + fi + done + if ! use build ; then + ebegin "Generating ConfigLocal.pm (ignore any error)" + enc2xs -C + fi + + einfo "Converting C header files to the corresponding Perl format (ignore any error)" + pushd /usr/include >/dev/null + h2ph -Q -a -d ${ARCH_LIB} \ + asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \ + sys/socket.h sys/time.h wait.h sysexits.h + popd >/dev/null + +# This has been moved into a function because rumor has it that a future release +# of portage will allow us to check what version was just removed - which means +# we will be able to invoke this only as needed :) + # Tried doing this via -z, but $INC is too big... + #if [[ "${INC}x" != "x" ]]; then + # cleaner_msg + #fi + fi +} + +pkg_postrm(){ + dual_scripts + +# if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then +# ebegin "Removing ConfigLocal.pm" +# rm "${ARCH_LIB}/Encode/ConfigLocal.pm" +# fi +} + +cleaner_msg() { + eerror "You have had multiple versions of perl. It is recommended" + eerror "that you run perl-cleaner now. perl-cleaner will" + eerror "assist with this transition. This script is capable" + eerror "of cleaning out old .ph files, rebuilding modules for " + eerror "your new version of perl, as well as re-emerging" + eerror "applications that compiled against your old libperl$(get_libname)" + eerror + eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT." + eerror "Part of the rebuilding of applications compiled against " + eerror "your old libperl involves temporarily unmerging" + eerror "them - interruptions could leave you with unmerged" + eerror "packages before they can be remerged." + eerror "" + eerror "If you have run perl-cleaner and a package still gives" + eerror "you trouble, and re-emerging it fails to correct" + eerror "the problem, please check http://bugs.gentoo.org/" + eerror "for more information or to report a bug." + eerror "" +} + +src_remove_dual_scripts() { + + local i pkg ver ff + pkg="$1" + ver="$2" + shift 2 + if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then + for i in "$@" ; do + alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*" + if [[ ${i} != cpanp-run-perl ]] ; then + ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*` + ff=${ff##*.1} + alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*" + fi + done + elif has "${EBUILD_PHASE:-none}" "setup" ; then + for i in "$@" ; do + if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then + has_version ${pkg} && ewarn "You must reinstall $pkg !" + break + fi + done + else + for i in "$@" ; do + if ! [[ -f "${D}"/usr/bin/${i} ]] ; then + use build || ewarn "/usr/bin/${i} does not exist!" + continue + fi + mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die + if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then + mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die + else + echo "/usr/share/man/man1/${i}.1 does not exist!" + fi + done + fi +} + +src_remove_extra_files() { + local prefix="./usr" # ./ is important + local bindir="${prefix}/bin" + local libdir="${prefix}/$(get_libdir)" + + # I made this list from the Mandr*, Debian and ex-Connectiva perl-base list + # Then, I added several files to get GNU autotools running + # FIXME: should this be in a separated file to be sourced? + local MINIMAL_PERL_INSTALL=" + ${bindir}/h2ph + ${bindir}/perl + ${bindir}/perl${MY_PV} + ${bindir}/pod2man + ${libdir}/${LIBPERL} + ${libdir}/libperl$(get_libname) + ${libdir}/libperl$(get_libname ${SHORT_PV}) + .${PRIV_LIB}/AutoLoader.pm + .${PRIV_LIB}/B/Deparse.pm + .${PRIV_LIB}/Carp.pm + .${PRIV_LIB}/Carp/Heavy.pm + .${PRIV_LIB}/Class/Struct.pm + .${PRIV_LIB}/DirHandle.pm + .${PRIV_LIB}/Exporter.pm + .${PRIV_LIB}/Exporter/Heavy.pm + .${PRIV_LIB}/ExtUtils/Command.pm + .${PRIV_LIB}/ExtUtils/Command/MM.pm + .${PRIV_LIB}/ExtUtils/Constant.pm + .${PRIV_LIB}/ExtUtils/Constant/Base.pm + .${PRIV_LIB}/ExtUtils/Constant/Utils.pm + .${PRIV_LIB}/ExtUtils/Constant/XS.pm + .${PRIV_LIB}/ExtUtils/Embed.pm + .${PRIV_LIB}/ExtUtils/Install.pm + .${PRIV_LIB}/ExtUtils/Installed.pm + .${PRIV_LIB}/ExtUtils/Liblist.pm + .${PRIV_LIB}/ExtUtils/Liblist/Kid.pm + .${PRIV_LIB}/ExtUtils/MM.pm + .${PRIV_LIB}/ExtUtils/MM_Any.pm + .${PRIV_LIB}/ExtUtils/MM_MacOS.pm + .${PRIV_LIB}/ExtUtils/MM_Unix.pm + .${PRIV_LIB}/ExtUtils/MY.pm + .${PRIV_LIB}/ExtUtils/MakeMaker.pm + .${PRIV_LIB}/ExtUtils/Manifest.pm + .${PRIV_LIB}/ExtUtils/Miniperl.pm + .${PRIV_LIB}/ExtUtils/Mkbootstrap.pm + .${PRIV_LIB}/ExtUtils/Mksymlists.pm + .${PRIV_LIB}/ExtUtils/Packlist.pm + .${PRIV_LIB}/ExtUtils/testlib.pm + .${PRIV_LIB}/File/Basename.pm + .${PRIV_LIB}/File/Compare.pm + .${PRIV_LIB}/File/Copy.pm + .${PRIV_LIB}/File/Find.pm + .${PRIV_LIB}/File/Path.pm + .${PRIV_LIB}/File/stat.pm + .${PRIV_LIB}/FileHandle.pm + .${PRIV_LIB}/Getopt/Long.pm + .${PRIV_LIB}/Getopt/Std.pm + .${PRIV_LIB}/IPC/Open2.pm + .${PRIV_LIB}/IPC/Open3.pm + .${PRIV_LIB}/PerlIO.pm + .${PRIV_LIB}/Pod/InputObjects.pm + .${PRIV_LIB}/Pod/Man.pm + .${PRIV_LIB}/Pod/ParseLink.pm + .${PRIV_LIB}/Pod/Parser.pm + .${PRIV_LIB}/Pod/Select.pm + .${PRIV_LIB}/Pod/Text.pm + .${PRIV_LIB}/Pod/Usage.pm + .${PRIV_LIB}/SelectSaver.pm + .${PRIV_LIB}/Symbol.pm + .${PRIV_LIB}/Text/ParseWords.pm + .${PRIV_LIB}/Text/Tabs.pm + .${PRIV_LIB}/Text/Wrap.pm + .${PRIV_LIB}/Tie/Hash.pm + .${PRIV_LIB}/Time/Local.pm + .${PRIV_LIB}/XSLoader.pm + .${PRIV_LIB}/autouse.pm + .${PRIV_LIB}/base.pm + .${PRIV_LIB}/bigint.pm + .${PRIV_LIB}/bignum.pm + .${PRIV_LIB}/bigrat.pm + .${PRIV_LIB}/blib.pm + .${PRIV_LIB}/bytes.pm + .${PRIV_LIB}/bytes_heavy.pl + .${PRIV_LIB}/charnames.pm + .${PRIV_LIB}/constant.pm + .${PRIV_LIB}/diagnostics.pm + .${PRIV_LIB}/fields.pm + .${PRIV_LIB}/filetest.pm + .${PRIV_LIB}/if.pm + .${PRIV_LIB}/integer.pm + .${PRIV_LIB}/less.pm + .${PRIV_LIB}/locale.pm + .${PRIV_LIB}/open.pm + .${PRIV_LIB}/overload.pm + .${PRIV_LIB}/sigtrap.pm + .${PRIV_LIB}/sort.pm + .${PRIV_LIB}/stat.pl + .${PRIV_LIB}/strict.pm + .${PRIV_LIB}/subs.pm + .${PRIV_LIB}/unicore/To/Fold.pl + .${PRIV_LIB}/unicore/To/Lower.pl + .${PRIV_LIB}/unicore/To/Upper.pl + .${PRIV_LIB}/utf8.pm + .${PRIV_LIB}/utf8_heavy.pl + .${PRIV_LIB}/vars.pm + .${PRIV_LIB}/vmsish.pm + .${PRIV_LIB}/warnings + .${PRIV_LIB}/warnings.pm + .${PRIV_LIB}/warnings/register.pm + .${ARCH_LIB}/B.pm + .${ARCH_LIB}/CORE/libperl$(get_libname) + .${ARCH_LIB}/Config.pm + .${ARCH_LIB}/Config_heavy.pl + .${ARCH_LIB}/Cwd.pm + .${ARCH_LIB}/Data/Dumper.pm + .${ARCH_LIB}/DynaLoader.pm + .${ARCH_LIB}/Errno.pm + .${ARCH_LIB}/Fcntl.pm + .${ARCH_LIB}/File/Glob.pm + .${ARCH_LIB}/File/Spec.pm + .${ARCH_LIB}/File/Spec/Unix.pm + .${ARCH_LIB}/IO.pm + .${ARCH_LIB}/IO/File.pm + .${ARCH_LIB}/IO/Handle.pm + .${ARCH_LIB}/IO/Pipe.pm + .${ARCH_LIB}/IO/Seekable.pm + .${ARCH_LIB}/IO/Select.pm + .${ARCH_LIB}/IO/Socket.pm + .${ARCH_LIB}/IO/Socket/INET.pm + .${ARCH_LIB}/IO/Socket/UNIX.pm + .${ARCH_LIB}/List/Util.pm + .${ARCH_LIB}/NDBM_File.pm + .${ARCH_LIB}/POSIX.pm + .${ARCH_LIB}/Scalar/Util.pm + .${ARCH_LIB}/Socket.pm + .${ARCH_LIB}/Storable.pm + .${ARCH_LIB}/attributes.pm + .${ARCH_LIB}/auto/Cwd/Cwd$(get_libname) + .${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname) + .${ARCH_LIB}/auto/DynaLoader/dl_findfile.al + .${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname) + .${ARCH_LIB}/auto/File/Glob/Glob$(get_libname) + .${ARCH_LIB}/auto/IO/IO$(get_libname) + .${ARCH_LIB}/auto/POSIX/POSIX$(get_libname) + .${ARCH_LIB}/auto/POSIX/autosplit.ix + .${ARCH_LIB}/auto/POSIX/fstat.al + .${ARCH_LIB}/auto/POSIX/load_imports.al + .${ARCH_LIB}/auto/POSIX/stat.al + .${ARCH_LIB}/auto/POSIX/tmpfile.al + .${ARCH_LIB}/auto/Socket/Socket$(get_libname) + .${ARCH_LIB}/auto/Storable/Storable$(get_libname) + .${ARCH_LIB}/auto/Storable/_retrieve.al + .${ARCH_LIB}/auto/Storable/_store.al + .${ARCH_LIB}/auto/Storable/autosplit.ix + .${ARCH_LIB}/auto/Storable/retrieve.al + .${ARCH_LIB}/auto/Storable/store.al + .${ARCH_LIB}/auto/re/re$(get_libname) + .${ARCH_LIB}/encoding.pm + .${ARCH_LIB}/lib.pm + .${ARCH_LIB}/ops.pm + .${ARCH_LIB}/re.pm + .${ARCH_LIB}/threads.pm +" + + pushd "${D}" > /dev/null + # Remove cruft + einfo "Removing files that are not in the minimal install" + echo "${MINIMAL_PERL_INSTALL}" + for f in $(find . -type f ) ; do + has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}" + done + # Remove empty directories + find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null + #for f in ${MINIMAL_PERL_INSTALL} ; do + # [[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL" + #done + popd > /dev/null +} -- cgit v1.2.3