summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2014-01-01 09:48:09 +0000
committerMikle Kolyada <zlogene@gentoo.org>2014-01-01 09:48:09 +0000
commit738dd03b0b609d796db4e9d29914b4c0dd33cc49 (patch)
treec0b1d56b196575ff56c7e561d4499e91ebfb4089 /dev-lang
parentRemove ruby18 leftovers in the ebuilds (diff)
downloadhistorical-738dd03b0b609d796db4e9d29914b4c0dd33cc49.tar.gz
historical-738dd03b0b609d796db4e9d29914b4c0dd33cc49.tar.bz2
historical-738dd03b0b609d796db4e9d29914b4c0dd33cc49.zip
Remove old versions wrt bug #350785
Package-Manager: portage-2.2.7/cvs/Linux i686 Manifest-Sign-Key: 0xC42EB5D6
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/perl/ChangeLog8
-rw-r--r--dev-lang/perl/Manifest15
-rw-r--r--dev-lang/perl/perl-5.10.1.ebuild610
-rw-r--r--dev-lang/perl/perl-5.8.8-r8.ebuild698
4 files changed, 12 insertions, 1319 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 3eed67b10e5d..a4ec42853cac 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.408 2013/12/19 13:39:48 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.409 2014/01/01 09:48:01 zlogene Exp $
+
+ 01 Jan 2014; Mikle Kolyada <zlogene@gentoo.org> -perl-5.10.1.ebuild,
+ -perl-5.8.8-r8.ebuild:
+ Remove old versions wrt bug #350785
19 Dec 2013; Jeroen Roovers <jer@gentoo.org> perl-5.16.3.ebuild:
Stable for HPPA (bug #461898).
diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest
index df2478a5b0cb..5af0de4e4547 100644
--- a/dev-lang/perl/Manifest
+++ b/dev-lang/perl/Manifest
@@ -47,8 +47,6 @@ AUX perl-perldoc-emptydirs.patch 489 SHA256 e8c52d67793f0a5ae0aee52a3b9db2b348a1
AUX perl-picdl.patch 250 SHA256 fdbe94e869457b7e62bdc76b82a13ecd6e500c223d609b1767285190efd63cfa SHA512 0493c583b3e7e324f91906ae9280145601642dba6c1c400f3d5df4e054e6aefa023d6c1823ee8cdbb7169fe5e1a932c091326e949e49ea252ccb409dd6a7fbe3 WHIRLPOOL 2fd61e6cbb9b0db012922a2dc8047b5962804b0e0ca41110915f8014f165009671f14619fdd955c95c811b29dc26d6fc49a736d5a20e668e099b7495c28b34d5
AUX perl-prelink-lpthread.patch 476 SHA256 289d0bdd08105e7fdf1c2d683d76a0cdcd009998f3ecd84f3a75cf79ab84e7a0 SHA512 7a46c4f4c2577d08ca0db27103adca0f0db00010080e499e1231f3785505a8c99b590160bba650a2ef95246f3acfdedcb4003f297f23c1599399b938196c51e2 WHIRLPOOL 8fef3e142467c5be840faed23e38013c9b541844326bcb9972245938bf34a123cdee1fbbae8a3a2c1a90eae6fdf2cb079deb2a0b8bbcd98616c1962a3d5daeff
AUX perl-regexp-nossp.patch 460 SHA256 e2d923711bb856b3c7f790dbc1cd1f468d647c1e50a3ff8a18745023c73b3e36 SHA512 78162aaf02125dcb7fa302edf2c34a1defa836a6e7635f843781b200d50e8bd4d519d1926ae4ff98cd9e3aaa6624b73901b3b6e54cb8ff3522557bd51fed630a WHIRLPOOL 1e205551058916f8495b37a4b1c6d28eba42a72874b2977f678bd5e9756e6d6ade5fdb7d666ef68570b91be906262353f01015dbf3a726f1f5d1564b945e72b6
-DIST perl-5.10.1-9.tar.bz2 7388 SHA256 bd84671e6686288c098c26c0a61d1b8471ab38d8c16fb87571011398770cef44 SHA512 5a94dd2ceadf609623110e11a0c2bf98b14715702bf83c93d61a164d0587900d9fa6b60b238d91de6c7ce34a711647420ccd29972f365ea69f4eb7a56b1209ca WHIRLPOOL 60661e7f7bb954238969255392b8fb87d0870ce4bfcc96abee2f7c05020d1883498374402d2a5b0ed8a056616850082de9a9e7cd47140e571a3a733060ecfa55
-DIST perl-5.10.1.tar.bz2 11608061 SHA256 9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 SHA512 58ba9923c99c41158ea60561852aa2f43ea25d88c1fdf7407cd1b98d40267a7899542b0f22e9d785e787267119a0cb99f8b6d2757cc0826986e497798a3a041a WHIRLPOOL 8c6d28a9b4281e2dd6e62ca367b6b2adc0d5c7cf1e42fcae3ff399679aff4827d9d4f518c51302c9cc1fbd0959381aa9d65f933b9e4b475b238d5e7cc93c8a55
DIST perl-5.12.3-4.tar.bz2 8908 SHA256 6e97770b5db0dc82630451ea87f2d6654591110ac6791e35bd377129e258dc8b SHA512 67cfe8d41924fa69ad5f46e99b2ffb2d50e317bba3dd3c7cfa66753424bfcf8e66b766645cbbea5b512ac05195aac31677d8cab181689b269556c7ed3f1984b2 WHIRLPOOL 1f4eff9acc101e4251c391061c882b176365ac28cbd1a23b8d826cac73d67221d13c263d27972a395c529b393ab9eb41da611345abaecd623c02ac3f617697ec
DIST perl-5.12.3.tar.bz2 12041247 SHA256 7e3ce3f19f2290c2a2a43a98bcf8cb0ccb69b652d67ddc629544339edc6c7343 SHA512 8a25cb9bd72b197467af7bee55d0c7c834c8e679bc01b82c0f0847d7c7416a02fd89b7cf6304ec74eb38404c78b91e3029d183b6c52831d19082d305c9ef0f76 WHIRLPOOL 9a9dcb9f0b5156415eeb325569f3d6a40df558a86717db7a8f6162531ba30170d3aaa81a15487fd3d7c2c07e5fee81ee075e1a07d401576fa64989105eeecc63
DIST perl-5.12.4-1.tar.bz2 8045 SHA256 a5b0a7385773da5e716d74c5f9a46c63d93de96e9e7e60899f40363bd9fe6823 SHA512 73ca51e54f4273dc72c0c891643bd842d2f69b20a7cecf409e9eb790bd82cb0c9b61279555fe9f1930f914218c3055470a9d97e1f94e45d7f148a3100a426579 WHIRLPOOL 1e28cded49c92f29908ac6ba5bbbc4e5579cc373ae3b13a009cc503bfa0b0305cf439fdb722e5ebab2c971163163f50f808baf1bbce76cb4a7c0b49de70fbc96
@@ -69,8 +67,6 @@ DIST perl-5.16.2.tar.bz2 13725101 SHA256 5ba91d9aa40220c615b644bb48fa5df7fbca4af
DIST perl-5.16.3-1.tar.bz2 16842 SHA256 e88c413f6491aaa76cfb730af5873d710906df84d486019ad34b8c976ed9279e SHA512 337fbe5b3f447d2bb7f1edb18df973efbf99582448bcc6d3099ec6a91a43071cbbde3419a642e69602d6526f0d2c83d1ce8c7315e51362937c76bf3dc93f3f84 WHIRLPOOL c5be2872341e2bffe4f83b3f77314ed60b078f0977b11aa89d24a25fffa5ad9a761945d6518872c92a156065b58a3c456b71f98a8939a9cfd748e3a2d98a2264
DIST perl-5.16.3.tar.bz2 13724906 SHA256 bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8 SHA512 c30cda0af9463942e40b5d70a95e69b0640bf0b79d9d9dfa1a61d9d8b9ee05f553fd240be4c8b3c60a1def66c80453e49e865c27d3dd0b686f5c004e1ff58d92 WHIRLPOOL 241141d9a04095abbc08f29853cc2a348b04550c7e9330c65a1aa111620b61166d2516a619a3afbf8b7bae4208bae7114bfff153c9303c00158a0153c3388526
DIST perl-5.18.1.tar.bz2 14059628 SHA256 bf46c732c68fb160ea276b4b0cda26971646a206e31951abb8623a60f0ee5249 SHA512 d55f7a746044bcfd6058959ae912bf4d40208b2d6f4067ccf5f42797c5faeec0ec8e41f9e600fdea3d467c3bf0f614c8f94bce8ff06fe444e8aa1080c709f7f9 WHIRLPOOL dcae1c2ca80adab1e35b5b52ff20e6aa5e3d0bd9cdd199e5a475d4a246578e65762f47653707dd50a322d93834c60b9c78e44e3b54a3003f0bd380b048e2ba0f
-DIST perl-5.8.8.tar.bz2 10123359 SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9 SHA512 45d8d6ffe5f28b71bd279e17e82eb60a97e2372e896ad5c1233a88d3cf092dc37ba74a450413a689600f8a17f53969600fc6e45a6e2a051471f9fde86bd635f7 WHIRLPOOL 0f50fa3b0785932ce30df64881c57b15ef098fb7cb8f6ad2a850e3642e7be589b3dc61e7ae9e07b44eacbfec262e0f869b26dbf6f704d302eb700fb2e158d380
-EBUILD perl-5.10.1.ebuild 18186 SHA256 e78712f27936a68b51f0e70239dd01f28adc79a7d1f1ca8580fcae6a0b51e707 SHA512 6c6bec78518702469e05d934d2cb23ee5f24b45e92edc7e3d31c33be222b0d0602e851e576318bdfacb92456fb4242f68c65e54649f47caa521874524f699581 WHIRLPOOL 2471a7f2bd074e494cf29edacfea190dbd4dbcd18c22ad77d93e0530609870353a43def38cee6d7bc98932c3977494fa151072b6586b9a91c12de9c92c7de430
EBUILD perl-5.12.3-r1.ebuild 19453 SHA256 d675c932b718a36b59d666fec13d0a5a77b02b8450a961a7e1a833dcaf560de4 SHA512 9dbfc08a5ec1185f352caf0529ae0fa5d8df8b980aaa4682f18b2186244452247ea2bb4132a7464c27f12015522862a89091448ddcef6684c037f9c6eae5dd72 WHIRLPOOL d03b934499856b26454a8f7c99fed0044dce612928321483d61048fefb0200e922047154bc6d8375fdaa0c1c6c0c03ec1698343b0c4155f0b52d708fd794c504
EBUILD perl-5.12.4-r1.ebuild 19372 SHA256 5daba3ba20c18960efdcc372ad697231ecb8f36515b8bdb2a386444992c431bd SHA512 fd1ab8eab7f11568578fc485c38ad4c261401c2235bb86314a9db2d4922866b51ed2037c80afe650c8488b77f6fe8ca13c788efe0bd10f0eed1460f16eda37bb WHIRLPOOL 80eca255b42b520d1dd08ed9b75e76b64c117e5d3906ea989297dc21dbed546b83eb023c4bc841bef8ccd536e8f9f0f4639d092f8327a7ded2a04c797174ffef
EBUILD perl-5.12.4-r2.ebuild 21823 SHA256 ad29874dfc892161535e789e4bfcf949b31edc15f5bfc28370d15b8db8fda3bb SHA512 fa89b6a91c81e59633e66abbd3b7a41501117d5184785df77326eba6a8e8b48ebb29769bcafbbcc9c6dfa2f5e3de82b349c2860a9e2bb3620d321c635686f343 WHIRLPOOL 9ebd2ed5c0976a97772a37b2717e92fe0204ba24110aacacd9688a490ff869d1a9943e54bb29d4a2beaa30b295ee2c9034d8b567c06acfdfa7236cd3942b7399
@@ -85,13 +81,14 @@ EBUILD perl-5.16.2-r1.ebuild 4323 SHA256 4d52bbc5bdd1dc013cc52ff21d91df98046d1b1
EBUILD perl-5.16.2.ebuild 4258 SHA256 9ce10c889603fe6c47ff5a35f6d6d912b34f5a8eca8d43db6d5f750eb536e770 SHA512 1fb31398edc025fb97ce5b74d44b86d10a6dc3405694e31e6744e6b83fb7069a59cf62d43b112faba80d804e12046e7c8ce7282b851d35fbd1faeab5acb18606 WHIRLPOOL b48f187a9f69d36849b946850dbed5a1969bb8ca5d49c71c203d93c45f94dea55f4d9b9136acf3d3b7a8b806a880d6c8c9ca9f1becc5ca6f3b201c91fd2cb01c
EBUILD perl-5.16.3.ebuild 4314 SHA256 8e5b36205990c337528287607b1054f869791a0d2341c970af392ac59526789f SHA512 7871b301070f844b86be9ffe243b0cc6634a46642ed7f49bcd2ac83162cf7b1b67885721093f540a376245fc6107519250a208151db1f78a8135e694dc70781e WHIRLPOOL c882f82ecf5740667ef81ad01e077917fa3ff03a4371d1e9fd343172516d2b7f1a372a2c7a6946cd80d330640e0a27cb906d77f2f3e7e46897b2cadae12e6a93
EBUILD perl-5.18.1.ebuild 4333 SHA256 aea75ae341f9e9c63636492196ea19e80afd78d39c76205c7a0223600052f818 SHA512 9a3a0a9123fef09f99ffd1bc44f3a71e7ef1adc91d695a7d6e49ba03f7fddc414b8c4882b6273f4b2e5ad2052332faa535ac8e77ec40af3f02c4e880a672e4ce WHIRLPOOL f1632740d9b8933e3a7b7f5f8e178943e888e329506271b7d4687e7beb028a56e5a91f313c9605ee9878c60227a4d6b62652e269e5da840da7fa8acc9e4b7044
-EBUILD perl-5.8.8-r8.ebuild 20741 SHA256 0ccd023b46d13e2c36bc7d9b5cf797e8288d2f76b683ac67802d7a1c39e6399e SHA512 8dfb847219afa8843449c82fdc802e7eba42581ef3f79f501fdde84213fab8903281a4188649da383353e339a7201f3b6b479c2718dec06957dde5ce5902eddc WHIRLPOOL ebc3605f1d80c5ca59fe6aad9dfdf548bd58ca76d66517a1ad49acba64e17d59314a6a59c8c2c9850cb73bc863c15b4f07d6853435b939032484cb3229897762
-MISC ChangeLog 78418 SHA256 498cc9d6a9d457ff63d70c333adb2966621dc70aa9ec6bca1fd1a0dc2b0f0df4 SHA512 0c0eaef1b68af701a403106c93c22330185edc96e1e60070fad55a7b3cd21d2eb4cd9c63a3c3ee9e7da8bcff8ad06d22dd066d11bc780c816df7f186a888faed WHIRLPOOL e1549fb0855a168cc7e374f6489a1d17976535d78c0fbb3ab8c2f8f3557f6092294d2e0fe3ba101eb4d231ec2f2bb8e5ed5dfe2fedf9dc84d91aa95e89ce53f5
+MISC ChangeLog 78557 SHA256 b1c98e1c44a3c5aa2dd3b0484b61d1df1051583f55f7da2c50c1ddb948cde13e SHA512 19587733fc52eecb5fcb91306f72bc9213b697d60e449e46a662ede178e06088f6e5d953bd58b3870f86540ae9b37fdf92e412584ae65d5544d21c8dbd2e5ded WHIRLPOOL 74c7cbea61bead251f41641f2c5161e2e378c9610100da2ce1403dad9ba29e8a93fef9f44bba5d9a70e36f91164dd41c37a16a196379f18f4940844f3a70fd8c
MISC metadata.xml 341 SHA256 b87a6bb9a9087266ceeecc146661b4e562ca01bb718a2473e8f921d63e279d1f SHA512 a7c88c9c6e35421a2ed105281243a9282ce1b55ad4a407cc4968507dc5b7290a0af706a64ca49424ef514173b2adb703960626e6f697101f41171709268109bc WHIRLPOOL 0bcb33d53f8b9b32e74ec2a324baa1a1cc14bb461b0febc1728789d8eec7a6f6abdc8579c4f9cfe4781d0ffdcb29b87a57669b01749b2bc85fe893815f998a04
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlKy9yYACgkQVWmRsqeSphNqEgCeJvAU5nDPlC8KDXP4YxX7i/BT
-KxEAn2m56VEM74FXh8UKaOMXJ/BhZTmA
-=DlcW
+iJwEAQEIAAYFAlLD5csACgkQG9wOWsQutdZdDAQAtpFgS57V17m6fldSmWBiv1IW
+sXmkEMimtuyXqbxSGzwE61or15cH9FJM58DyTWdDuhVNAS/IJVzHfnS46l6IUdw7
+kdhNkrrw8FSQdHDxljtVeuhP+Vhrc/H8y8Do4QaV9JJ3IFFLN/GZgoCt8odxbuCT
+NbUy7uCxVu/hqCWUfbc=
+=D6lL
-----END PGP SIGNATURE-----
diff --git a/dev-lang/perl/perl-5.10.1.ebuild b/dev-lang/perl/perl-5.10.1.ebuild
deleted file mode 100644
index e15f96c303c4..000000000000
--- a/dev-lang/perl/perl-5.10.1.ebuild
+++ /dev/null
@@ -1,610 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.10.1.ebuild,v 1.23 2012/01/02 22:52:21 zmedico Exp $
-
-EAPI=2
-
-inherit eutils alternatives flag-o-matic toolchain-funcs multilib
-
-PATCH_VER=9
-
-PERL_OLDVERSEN="5.10.0"
-
-SHORT_PV="${PV%.*}"
-MY_P="perl-${PV/_rc/-RC}"
-MY_PV="${PV%_rc*}"
-
-DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
-
-S="${WORKDIR}/${MY_P}"
-SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2
- mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
- http://dev.gentoo.org/~tove/files/${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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~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
- !!<sys-devel/libperl-5.10.1
- app-arch/bzip2
- sys-libs/zlib"
-DEPEND="${COMMON_DEPEND}
- elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
-RDEPEND="${COMMON_DEPEND}"
-PDEPEND=">=app-admin/perl-cleaner-2_pre090920"
-
-dual_scripts() {
- src_remove_dual_scripts perl-core/Archive-Tar 1.52 ptar ptardiff
- src_remove_dual_scripts perl-core/Digest-SHA 5.47 shasum
- src_remove_dual_scripts perl-core/CPAN 1.9402 cpan
- src_remove_dual_scripts perl-core/CPANPLUS 0.88 cpanp cpan2dist cpanp-run-perl
- src_remove_dual_scripts perl-core/Encode 2.35 enc2xs piconv
- src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.55_02 instmodsh
- src_remove_dual_scripts perl-core/Module-Build 0.34_02 config_data
- src_remove_dual_scripts perl-core/Module-CoreList 2.18 corelist
- src_remove_dual_scripts perl-core/PodParser 1.37 pod2usage podchecker podselect
- src_remove_dual_scripts perl-core/Test-Harness 3.17 prove
- src_remove_dual_scripts perl-core/podlators 2.2.2 pod2man pod2text
-}
-
-pkg_setup() {
- LIBPERL="libperl$(get_libname ${MY_PV})"
-
- if use ithreads ; then
- ewarn "THREADS WARNING:"
- ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
- ewarn "interpreter-level threading enabled."
- ewarn "Threading is not supported by all applications "
- ewarn "that compile against perl. You use threading at "
- ewarn "your own discretion. "
- echo
- fi
- if has_version "~dev-lang/perl-5.8.8" ; then
- ewarn "UPDATE THE PERL MODULES:"
- ewarn "After updating dev-lang/perl you must reinstall"
- ewarn "the installed perl modules."
- ewarn "Use: perl-cleaner --all"
- elif has_version dev-lang/perl ; then
- # doesnot work
- #if ! has_version dev-lang/perl[ithreads=,debug=] ; then
- #if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
- if ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
- ( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
- ( use debug && ! has_version dev-lang/perl[debug] ) || \
- ( ! use debug && has_version dev-lang/perl[debug] ) ; then
- ewarn "TOGGLED USE-FLAGS WARNING:"
- ewarn "You changed one of the use-flags ithreads or debug."
- ewarn "You must rebuild all perl-modules installed."
- ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
- fi
- fi
- dual_scripts
-}
-
-src_prepare() {
- EPATCH_SOURCE="${WORKDIR}/perl-patch" \
- EPATCH_SUFFIX="diff" \
- EPATCH_FORCE="yes" \
- epatch
-
- # pod/perltoc.pod fails
- ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
- ln -s ${LIBPERL} libperl$(get_libname )
-}
-
-myconf() {
- # the myconf array is declared in src_configure
- myconf=( "${myconf[@]}" "$@" )
-}
-
-src_configure() {
- declare -a myconf
-
- # some arches and -O do not mix :)
- use ppc && replace-flags -O? -O1
- # Perl has problems compiling with -Os in your flags with glibc
- use elibc_uclibc || replace-flags "-Os" "-O2"
- # This flag makes compiling crash in interesting ways
- filter-flags "-malign-double"
- # Fixes bug #97645
- use ppc && filter-flags "-mpowerpc-gpopt"
- # Fixes bug #143895 on gcc-4.1.1
- filter-flags "-fsched2-use-superblocks"
-
- # this is needed because gcc 3.3-compiled kernels will hang
- # the machine trying to run this test - check with `Kumba
- # <rac@gentoo.org> 2003.06.26
- use mips && myconf -Dd_u32align
-
- use sparc && myconf -Ud_longdbl
-
- export LC_ALL="C"
- [[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
-
- # 266337
- export BUILD_BZIP2=0
- export BZIP2_INCLUDE=/usr/include
- export BZIP2_LIB=/usr/$(get_libdir)
- cat <<-EOF > "${S}/ext/Compress-Raw-Zlib/config.in"
- BUILD_ZLIB = False
- INCLUDE = /usr/include
- LIB = /usr/$(get_libdir)
-
- OLD_ZLIB = False
- GZIP_OS_CODE = AUTO_DETECT
- EOF
-
- case ${CHOST} in
- *-freebsd*) osname="freebsd" ;;
- *-dragonfly*) osname="dragonfly" ;;
- *-netbsd*) osname="netbsd" ;;
- *-openbsd*) osname="openbsd" ;;
- *-darwin*) osname="darwin" ;;
- *) osname="linux" ;;
- esac
-
- if use ithreads ; then
- mythreading="-multi"
- myconf -Dusethreads
- myarch=${CHOST}
- myarch="${myarch%%-*}-${osname}-thread"
- else
- myarch=${CHOST}
- myarch="${myarch%%-*}-${osname}"
- fi
- if use debug ; then
- myarch="${myarch}-debug"
- fi
-
- # allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) 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
-
- if use debug ; then
- append-cflags "-g"
- myconf -DDEBUGGING
- fi
-
- local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v} ${v}/${myarch}${mythreading}"; done )
-
- [[ ${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}" \
- -Dscriptdir=/usr/bin \
- -Dprefix='/usr' \
- -Dvendorprefix='/usr' \
- -Dsiteprefix='/usr' \
- -Dprivlib="/usr/$(get_libdir)/perl5/${MY_PV}" \
- -Darchlib="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}" \
- -Dvendorlib="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}" \
- -Dvendorarch="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}" \
- -Dsitelib="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}" \
- -Dsitearch="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}" \
- -Dman1dir=/usr/share/man/man1 \
- -Dman3dir=/usr/share/man/man3 \
- -Dinstallman1dir=/usr/share/man/man1 \
- -Dinstallman3dir=/usr/share/man/man3 \
- -Dman1ext='1' \
- -Dman3ext='3pm' \
- -Dlibperl="${LIBPERL}" \
- -Dlocincpth=' ' \
- -Duselargefiles \
- -Dd_semctl_semun \
- -Dinc_version_list="$inclist" \
- -Dcf_by='Gentoo' \
- -Dmyhostname='localhost' \
- -Dperladmin='root@localhost' \
- -Dinstallusrbinperl='n' \
- -Ud_csh \
- -Uusenm \
- "${myconf[@]}" || die "Unable to configure"
-}
-
-src_test() {
-# use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
-# TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
- make test_harness || die "test failed"
-}
-
-src_install() {
- export LC_ALL="C"
- local i
- local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
-
- # Fix for "stupid" modules and programs
- dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}
-
- 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"
-# cp -f utils/h2ph utils/h2ph_patched
-# epatch "${FILESDIR}"/${PN}-h2ph-ansi-header.patch
-#
-# LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
-# -a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF
-#asm/termios.h
-#syscall.h
-#syslimits.h
-#syslog.h
-#sys/ioctl.h
-#sys/socket.h
-#sys/time.h
-#wait.h
-#EOF
-
-# vvv still needed?
-# # This is to fix a missing c flag for backwards compat
-# for i in $(find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm" ) ; do
-# sed -i \
-# -e "s:ccflags=':ccflags='-DPERL5 :" \
-# -e "s:cppflags=':cppflags='-DPERL5 :" \
-# "${i}" || die "Sed failed"
-# done
-
- # 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 and .packlist
- for i in $(find "${D}" -iname "Config.pm" -o -iname ".packlist" ) ; do
- einfo "Removing ${D} from ${i}..."
- sed -i -e "s:${D}::" "${i}" || die "Sed failed"
- done
-
- # 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
- ./perl installhtml \
- --podroot='.' \
- --podpath='lib:ext:pod:vms' \
- --recurse \
- --htmldir="${D}/usr/share/doc/${PF}/html" \
- --libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
- fi
-
- dual_scripts
-
- if use build ; then
- src_remove_extra_files
- fi
-}
-
-pkg_postinst() {
- local INC DIR file
-
- dual_scripts
-
- INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
- if [[ "${ROOT}" = "/" ]] ; then
- ebegin "Removing old .ph files"
- for DIR in ${INC} ; do
- if [[ -d "${ROOT}/${DIR}" ]] ; then
- for file in $(find "${ROOT}/${DIR}" -name "*.ph" -type f ) ; do
- rm -f "${ROOT}/${file}"
- einfo "<< ${file}"
- done
- fi
- done
- # Silently remove the now empty dirs
- for DIR in ${INC} ; do
- if [[ -d "${ROOT}/${DIR}" ]] ; then
- find "${ROOT}/${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
- fi
- done
- ebegin "Generating ConfigLocal.pm (ignore any error)"
- enc2xs -C
- ebegin "Converting C header files to the corresponding Perl format"
- cd /usr/include
- h2ph -Q *
- h2ph -Q -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/*
- fi
-
-# 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
- epause 5
- fi
-}
-
-pkg_postrm(){
- ${IS_PERL} && dual_scripts
-}
-
-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
- ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
- ff=${ff##*.1}
- alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
- alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
- 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
- mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
- mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \
- echo "/usr/share/man/man1/${i}.1 does not exist!"
- done
- fi
-}
-
-src_remove_extra_files() {
- local prefix="./usr" # ./ is important
- local bindir="${prefix}/bin"
- local libdir="${prefix}/$(get_libdir)"
- local perlroot="${libdir}/perl5" # perl installs per-arch dirs
- local prV="${perlroot}/${MY_PV}"
- local prVA="${prV}/${myarch}${mythreading}"
-
- # 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})
- ${prV}/attributes.pm
- ${prV}/AutoLoader.pm
- ${prV}/autouse.pm
- ${prV}/base.pm
- ${prV}/bigint.pm
- ${prV}/bignum.pm
- ${prV}/bigrat.pm
- ${prV}/blib.pm
- ${prV}/bytes_heavy.pl
- ${prV}/bytes.pm
- ${prV}/Carp/Heavy.pm
- ${prV}/Carp.pm
- ${prV}/charnames.pm
- ${prV}/Class/Struct.pm
- ${prV}/constant.pm
- ${prV}/diagnostics.pm
- ${prV}/DirHandle.pm
- ${prV}/Exporter/Heavy.pm
- ${prV}/Exporter.pm
- ${prV}/ExtUtils/Command.pm
- ${prV}/ExtUtils/Constant.pm
- ${prV}/ExtUtils/Embed.pm
- ${prV}/ExtUtils/Installed.pm
- ${prV}/ExtUtils/Install.pm
- ${prV}/ExtUtils/Liblist.pm
- ${prV}/ExtUtils/MakeMaker.pm
- ${prV}/ExtUtils/Manifest.pm
- ${prV}/ExtUtils/Mkbootstrap.pm
- ${prV}/ExtUtils/Mksymlists.pm
- ${prV}/ExtUtils/MM_Any.pm
- ${prV}/ExtUtils/MM_MacOS.pm
- ${prV}/ExtUtils/MM.pm
- ${prV}/ExtUtils/MM_Unix.pm
- ${prV}/ExtUtils/MY.pm
- ${prV}/ExtUtils/Packlist.pm
- ${prV}/ExtUtils/testlib.pm
- ${prV}/ExtUtils/Miniperl.pm
- ${prV}/ExtUtils/Command/MM.pm
- ${prV}/ExtUtils/Constant/Base.pm
- ${prV}/ExtUtils/Constant/Utils.pm
- ${prV}/ExtUtils/Constant/XS.pm
- ${prV}/ExtUtils/Liblist/Kid.pm
- ${prV}/ExtUtils/MakeMaker/bytes.pm
- ${prV}/ExtUtils/MakeMaker/vmsish.pm
- ${prV}/fields.pm
- ${prV}/File/Basename.pm
- ${prV}/File/Compare.pm
- ${prV}/File/Copy.pm
- ${prV}/File/Find.pm
- ${prV}/FileHandle.pm
- ${prV}/File/Path.pm
- ${prV}/File/Spec.pm
- ${prV}/File/Spec/Unix.pm
- ${prV}/File/stat.pm
- ${prV}/filetest.pm
- ${prVA}/attrs.pm
- ${prVA}/auto/attrs
- ${prVA}/auto/Cwd/Cwd$(get_libname)
- ${prVA}/auto/Data/Dumper/Dumper$(get_libname)
- ${prVA}/auto/DynaLoader/dl_findfile.al
- ${prVA}/auto/Fcntl/Fcntl$(get_libname)
- ${prVA}/auto/File/Glob/Glob$(get_libname)
- ${prVA}/auto/IO/IO$(get_libname)
- ${prVA}/auto/POSIX/autosplit.ix
- ${prVA}/auto/POSIX/fstat.al
- ${prVA}/auto/POSIX/load_imports.al
- ${prVA}/auto/POSIX/POSIX.bs
- ${prVA}/auto/POSIX/POSIX$(get_libname)
- ${prVA}/auto/POSIX/stat.al
- ${prVA}/auto/POSIX/tmpfile.al
- ${prVA}/auto/re/re$(get_libname)
- ${prVA}/auto/Socket/Socket$(get_libname)
- ${prVA}/auto/Storable/autosplit.ix
- ${prVA}/auto/Storable/_retrieve.al
- ${prVA}/auto/Storable/retrieve.al
- ${prVA}/auto/Storable/Storable$(get_libname)
- ${prVA}/auto/Storable/_store.al
- ${prVA}/auto/Storable/store.al
- ${prVA}/B/Deparse.pm
- ${prVA}/B.pm
- ${prVA}/Config.pm
- ${prVA}/Config_heavy.pl
- ${prVA}/CORE/libperl$(get_libname)
- ${prVA}/Cwd.pm
- ${prVA}/Data/Dumper.pm
- ${prVA}/DynaLoader.pm
- ${prVA}/encoding.pm
- ${prVA}/Errno.pm
- ${prVA}/Fcntl.pm
- ${prVA}/File/Glob.pm
- ${prVA}/_h2ph_pre.ph
- ${prVA}/IO/File.pm
- ${prVA}/IO/Handle.pm
- ${prVA}/IO/Pipe.pm
- ${prVA}/IO.pm
- ${prVA}/IO/Seekable.pm
- ${prVA}/IO/Select.pm
- ${prVA}/IO/Socket.pm
- ${prVA}/lib.pm
- ${prVA}/NDBM_File.pm
- ${prVA}/ops.pm
- ${prVA}/POSIX.pm
- ${prVA}/re.pm
- ${prVA}/Socket.pm
- ${prVA}/Storable.pm
- ${prVA}/threads
- ${prVA}/threads.pm
- ${prVA}/XSLoader.pm
- ${prV}/Getopt/Long.pm
- ${prV}/Getopt/Std.pm
- ${prV}/if.pm
- ${prV}/integer.pm
- ${prV}/IO/Socket/INET.pm
- ${prV}/IO/Socket/UNIX.pm
- ${prV}/IPC/Open2.pm
- ${prV}/IPC/Open3.pm
- ${prV}/less.pm
- ${prV}/List/Util.pm
- ${prV}/locale.pm
- ${prV}/open.pm
- ${prV}/overload.pm
- ${prV}/Pod/InputObjects.pm
- ${prV}/Pod/Man.pm
- ${prV}/Pod/ParseLink.pm
- ${prV}/Pod/Parser.pm
- ${prV}/Pod/Select.pm
- ${prV}/Pod/Text.pm
- ${prV}/Pod/Usage.pm
- ${prV}/PerlIO.pm
- ${prV}/Scalar/Util.pm
- ${prV}/SelectSaver.pm
- ${prV}/sigtrap.pm
- ${prV}/sort.pm
- ${prV}/stat.pl
- ${prV}/strict.pm
- ${prV}/subs.pm
- ${prV}/Symbol.pm
- ${prV}/Text/ParseWords.pm
- ${prV}/Text/Tabs.pm
- ${prV}/Text/Wrap.pm
- ${prV}/Time/Local.pm
- ${prV}/unicore/Canonical.pl
- ${prV}/unicore/Exact.pl
- ${prV}/unicore/lib/gc_sc/Digit.pl
- ${prV}/unicore/lib/gc_sc/Word.pl
- ${prV}/unicore/PVA.pl
- ${prV}/unicore/To/Fold.pl
- ${prV}/unicore/To/Lower.pl
- ${prV}/unicore/To/Upper.pl
- ${prV}/utf8_heavy.pl
- ${prV}/utf8.pm
- ${prV}/vars.pm
- ${prV}/vmsish.pm
- ${prV}/warnings
- ${prV}/warnings.pm
- ${prV}/warnings/register.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
- popd > /dev/null
-}
diff --git a/dev-lang/perl/perl-5.8.8-r8.ebuild b/dev-lang/perl/perl-5.8.8-r8.ebuild
deleted file mode 100644
index acea381828c2..000000000000
--- a/dev-lang/perl/perl-5.8.8-r8.ebuild
+++ /dev/null
@@ -1,698 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r8.ebuild,v 1.14 2012/01/02 22:52:21 zmedico Exp $
-
-inherit eutils alternatives flag-o-matic toolchain-funcs multilib
-
-# The slot of this binary compat version of libperl.so
-PERLSLOT="1"
-
-SHORT_PV="${PV%.*}"
-MY_P="perl-${PV/_rc/-RC}"
-MY_PV="${PV%_rc*}"
-DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2"
-HOMEPAGE="http://www.perl.org/"
-LIBPERL="libperl$(get_libname ${PERLSLOT}.${SHORT_PV})"
-
-LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="berkdb debug doc gdbm ithreads perlsuid build elibc_FreeBSD"
-PERL_OLDVERSEN="5.8.0 5.8.2 5.8.4 5.8.5 5.8.6 5.8.7"
-
-DEPEND="berkdb? ( sys-libs/db )
- gdbm? ( >=sys-libs/gdbm-1.8.3 )
- >=sys-devel/libperl-${PV}-r1
- elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
- <sys-devel/libperl-5.9
- !<perl-core/File-Spec-0.87
- !<perl-core/Test-Simple-0.47-r1"
-
-RDEPEND="~sys-devel/libperl-${PV}
- berkdb? ( sys-libs/db )
- gdbm? ( >=sys-libs/gdbm-1.8.3 )
- build? (
- !perl-core/Test-Harness
- !perl-core/PodParser
- !dev-perl/Locale-gettext
- )"
-
-PDEPEND=">=app-admin/perl-cleaner-1.03"
-
-dual_scripts() {
- src_remove_dual_scripts perl-core/Encode 2.12 enc2xs piconv
- src_remove_dual_scripts perl-core/PodParser 1.32 pod2usage podchecker podselect
- src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.30 instmodsh
- src_remove_dual_scripts perl-core/Test-Harness 2.56 prove
- src_remove_dual_scripts perl-core/CPAN 1.76_02 cpan
- src_remove_dual_scripts perl-core/podlators 1.37 pod2man pod2text
-}
-
-pkg_setup() {
- # I think this should rather be displayed if you *have* 'ithreads'
- # in USE if it could break things ...
- if use ithreads
- then
- ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
- ewarn "interpreter-level threading enabled."
- ewarn "Threading is not supported by all applications "
- ewarn "that compile against perl. You use threading at "
- ewarn "your own discretion. "
- epause 5
- fi
-
- if [[ ! -f "${ROOT}/usr/$(get_libdir)/${LIBPERL}" ]]
- then
- # Make sure we have libperl installed ...
- eerror "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}! Make sure that you"
- eerror "have sys-libs/libperl installed properly ..."
- die "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!"
- fi
- dual_scripts
-}
-
-src_unpack() {
- unpack ${A}
-
- # Get -lpthread linked before -lc. This is needed
- # when using glibc >= 2.3, or else runtime signal
- # handling breaks. Fixes bug #14380.
- # <rac@gentoo.org> (14 Feb 2003)
- # reinstated to try to avoid sdl segfaults 03.10.02
- cd "${S}"; epatch "${FILESDIR}"/${PN}-prelink-lpthread.patch
-
- # Patch perldoc to not abort when it attempts to search
- # nonexistent directories; fixes bug #16589.
- # <rac@gentoo.org> (28 Feb 2003)
-
- cd "${S}"; epatch "${FILESDIR}"/${PN}-perldoc-emptydirs.patch
-
- # this lays the groundwork for solving the issue of what happens
- # when people (or ebuilds) install different versiosn of modules
- # that are in the core, by rearranging the @INC directory to look
- # site -> vendor -> core.
- cd "${S}"; epatch "${FILESDIR}"/${P}-reorder-INC.patch
-
- # some well-intentioned stuff in http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.SOL.4.10.10205231231200.5399-100000%40maxwell.phys.lafayette.edu
- # attempts to avoid bringing cccdlflags to bear on static
- # extensions (like DynaLoader). i believe this is
- # counterproductive on a Gentoo system which has both a shared
- # and static libperl, so effectively revert this here.
- cd "${S}"; epatch "${FILESDIR}"/${PN}-picdl.patch
-
- # Configure makes an unwarranted assumption that /bin/ksh is a
- # good shell. This patch makes it revert to using /bin/sh unless
- # /bin/ksh really is executable. Should fix bug 42665.
- # rac 2004.06.09
- cd "${S}"; epatch "${FILESDIR}"/${PN}-noksh.patch
-
- # makedepend.SH contains a syntax error which is ignored by bash but causes
- # dash to abort
- epatch "${FILESDIR}"/${P}-makedepend-syntax.patch
-
- # We do not want the build root in the linked perl module's RUNPATH, so
- # strip paths containing PORTAGE_TMPDIR if its set. This is for the
- # MakeMaker module, bug #105054.
- epatch "${FILESDIR}"/${PN}-5.8.7-MakeMaker-RUNPATH.patch
-
- # Starting and hopefully ending with 5.8.7 we observe stack
- # corruption with the regexp handling in perls DynaLoader code
- # with ssp enabled. This become fatal during compile time so we
- # temporally disable ssp on two regexp files till upstream has a
- # chance to work it out. Bug #97452
- [[ -n $(test-flags -fno-stack-protector) ]] && \
- epatch "${FILESDIR}"/${PN}-regexp-nossp.patch
-
- # On PA7200, uname -a contains a single quote and we need to
- # filter it otherwise configure fails. See #125535.
- epatch "${FILESDIR}"/perl-hppa-pa7200-configure.patch
-
- case "$(get_libdir)" in
- lib64) cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch;;
- lib32) cd "${S}" && epatch "${FILESDIR}"/${P}-lib32.patch;;
- lib) true;;
- *) die "Something's wrong with your libdir, don't know how to treat it.";;
- esac
-
- [[ ${CHOST} == *-dragonfly* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-dragonfly-clean.patch
- [[ ${CHOST} == *-freebsd* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-fbsdhints.patch
- cd "${S}"; epatch "${FILESDIR}"/${P}-USE_MM_LD_RUN_PATH.patch
- cd "${S}"; epatch "${FILESDIR}"/${P}-links.patch
- # c++ patch - should address swig related items
- cd "${S}"; epatch "${FILESDIR}"/${P}-cplusplus.patch
-
- epatch "${FILESDIR}"/${P}-gcc42-command-line.patch
-
- # Newer linux-headers don't include asm/page.h. Fix this.
- # Patch from bug 168312, thanks Peter!
- echo "#include <asm/page.h>" | $(tc-getCPP) > /dev/null 2>&1 || \
- epatch "${FILESDIR}"/${P}-asm-page-h-compile-failure.patch
-
- # Also add the directory prefix of the current file when the quote syntax is
- # used; 'require' will only look in @INC, not the current directory.
- epatch "${FILESDIR}"/${PN}-fix_h2ph_include_quote.patch
-
- # perlcc fix patch - bug #181229
- epatch "${FILESDIR}"/${P}-perlcc.patch
-
- # libnet hostname test patch
- epatch "${FILESDIR}"/${P}-libnet-hostname.patch
-
- # patch to fix bug #198196
- # UTF/Regular expressions boundary error (CVE-2007-5116)
- epatch "${FILESDIR}"/${P}-utf8-boundary.patch
-
- # patch to fix bug #219203
- epatch "${FILESDIR}"/${P}-CVE-2008-1927.patch
-
- epatch "${FILESDIR}"/${P}-CAN-2005-0448-rmtree-2.patch
- epatch "${FILESDIR}"/${P}-fix_file_path_chdir.patch
-
- # Respect CFLAGS even for linking when done with compiler
- epatch "${FILESDIR}"/${P}-ccld-cflags.patch
-}
-
-myconf() {
- # the myconf array is declared in src_configure
- myconf=( "${myconf[@]}" "$@" )
-}
-
-src_configure() {
- declare -a myconf
-
- # some arches and -O do not mix :)
- use ppc && replace-flags -O? -O1
- # Perl has problems compiling with -Os in your flags with glibc
- use elibc_uclibc || replace-flags "-Os" "-O2"
- ( gcc-specs-ssp && use ia64 ) && append-flags -fno-stack-protector
- # This flag makes compiling crash in interesting ways
- filter-flags -malign-double
- # Fixes bug #97645
- use ppc && filter-flags -mpowerpc-gpopt
- # Fixes bug #143895 on gcc-4.1.1
- filter-flags "-fsched2-use-superblocks"
-
- export LC_ALL="C"
- [[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
-
- case ${CHOST} in
- *-freebsd*) osname="freebsd" ;;
- *-dragonfly*) osname="dragonfly" ;;
- *-netbsd*) osname="netbsd" ;;
- *-openbsd*) osname="openbsd" ;;
- *-darwin*) osname="darwin" ;;
-
- *) osname="linux" ;;
- esac
-
- if use ithreads
- then
- einfo "using ithreads"
- mythreading="-multi"
- myconf -Dusethreads
- myarch=${CHOST}
- myarch="${myarch%%-*}-${osname}-thread"
- else
- myarch=${CHOST}
- myarch="${myarch%%-*}-${osname}"
- fi
-
- local inclist=$(for v in $PERL_OLDVERSEN; do echo -n "$v $v/$myarch$mythreading "; done)
-
- # allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) 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 mips
- then
- # this is needed because gcc 3.3-compiled kernels will hang
- # the machine trying to run this test - check with `Kumba
- # <rac@gentoo.org> 2003.06.26
- myconf -Dd_u32align
- fi
-
- if use perlsuid
- then
- myconf -Dd_dosuid
- ewarn "You have enabled Perl's suid compile. Please"
- ewarn "read http://search.cpan.org/~nwclark/perl-5.8.8/INSTALL#suidperl"
- epause 3
- fi
-
- if use debug
- then
- CFLAGS="${CFLAGS} -g"
- myconf -DDEBUGGING
- fi
-
- if use sparc
- then
- myconf -Ud_longdbl
- fi
-
- 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
-
- [[ ${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 \
- -Darchname="${myarch}" \
- -Dcccdlflags='-fPIC' \
- -Dccdlflags='-rdynamic' \
- -Dcc="$(tc-getCC)" \
- -Dprefix='/usr' \
- -Dvendorprefix='/usr' \
- -Dsiteprefix='/usr' \
- -Dlocincpth=' ' \
- -Doptimize="${CFLAGS}" \
- -Duselargefiles \
- -Dd_semctl_semun \
- -Dscriptdir=/usr/bin \
- -Dman1dir=/usr/share/man/man1 \
- -Dman3dir=/usr/share/man/man3 \
- -Dinstallman1dir=/usr/share/man/man1 \
- -Dinstallman3dir=/usr/share/man/man3 \
- -Dman1ext='1' \
- -Dman3ext='3pm' \
- -Dinc_version_list="$inclist" \
- -Dcf_by='Gentoo' \
- -Ud_csh \
- -Dusenm \
- "${myconf[@]}" || die "Unable to configure"
-}
-
-src_compile() {
-
- # would like to bracket this with a test for the existence of a
- # dotfile, but can't clean it automatically now.
-
- src_configure
-
- emake -j1 || die "Unable to make"
-}
-
-src_test() {
- use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
- emake -i test CCDLFLAGS= || die "test failed"
-}
-
-src_install() {
-
- export LC_ALL="C"
-
- # Need to do this, else apps do not link to dynamic version of
- # the library ...
- local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
- dodir ${coredir}
- dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
- dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${PERLSLOT})
- dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
-
- # Fix for "stupid" modules and programs
- dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}
-
- local installtarget=install
- if use build ; then
- installtarget=install.perl
- fi
- make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
-
- rm "${D}"/usr/bin/perl
- ln -s perl${MY_PV} "${D}"/usr/bin/perl
-
- cp -f utils/h2ph utils/h2ph_patched
- epatch "${FILESDIR}"/${PN}-h2ph-ansi-header.patch
-
- LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
- -a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF
-asm/termios.h
-syscall.h
-syslimits.h
-syslog.h
-sys/ioctl.h
-sys/socket.h
-sys/time.h
-wait.h
-EOF
-
- # This is to fix a missing c flag for backwards compat
- for i in `find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm"`;do
- sed -e "s:ccflags=':ccflags='-DPERL5 :" \
- -e "s:cppflags=':cppflags='-DPERL5 :" \
- ${i} > ${i}.new &&\
- mv ${i}.new ${i} || die "Sed failed"
- done
-
- # 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 and .packlist
- for i in `find "${D}" -iname "Config.pm"` `find "${D}" -iname ".packlist"`;do
- einfo "Removing ${D} from ${i}..."
- sed -e "s:${D}::" ${i} > ${i}.new &&\
- mv ${i}.new ${i} || die "Sed failed"
- done
-
- # 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* Artistic Copying README Todo* AUTHORS
-
- if use doc
- then
- # HTML Documentation
- # We expect errors, warnings, and such with the following.
-
- dodir /usr/share/doc/${PF}/html
- ./perl installhtml \
- --podroot='.' \
- --podpath='lib:ext:pod:vms' \
- --recurse \
- --htmldir="${D}/usr/share/doc/${PF}/html" \
- --libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
- fi
- cd `find "${D}" -name Path.pm|sed -e 's/Path.pm//'`
- # CAN patch in bug 79685
- #epatch "${FILESDIR}"/${P}-CAN-2005-0448-rmtree-2.patch
-
- dual_scripts
-
- if use build ; then
- src_remove_extra_files
- fi
-}
-
-pkg_postinst() {
- dual_scripts
- INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
- if [[ "${ROOT}" = "/" ]]
- then
- ebegin "Removing old .ph files"
- for DIR in $INC; do
- if [[ -d "${ROOT}"/$DIR ]]; then
- for file in $(find "${ROOT}"/$DIR -name "*.ph" -type f); do
- rm "${ROOT}"/$file
- einfo "<< $file"
- done
- fi
- done
- # Silently remove the now empty dirs
- for DIR in $INC; do
- if [[ -d "${ROOT}"/$DIR ]]; then
- find "${ROOT}"/$DIR -depth -type d | xargs -r rmdir &> /dev/null
- fi
- done
- ebegin "Generating ConfigLocal.pm (ignore any error)"
- enc2xs -C
- ebegin "Converting C header files to the corresponding Perl format"
- cd /usr/include;
- h2ph *
- h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo*
- cd /usr/include/linux
- h2ph *
- fi
-
-# 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
- epause 5
- fi
-}
-
-pkg_postrm() {
- dual_scripts
-}
-
-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 ""
- 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
- ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
- ff=${ff##*.1}
- alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
- alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
- 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
- mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
- mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \
- echo "/usr/share/man/man1/${i}.1 does not exist!"
- done
- fi
-}
-
-src_remove_extra_files() {
- local prefix="./usr" # ./ is important
- local bindir="${prefix}/bin"
- local perlroot="${prefix}/$(get_libdir)/perl5" # perl installs per-arch dirs
- local prV="${perlroot}/${MY_PV}"
- # myarch and mythreading are defined inside src_configure()
- local prVA="${prV}/${myarch}${mythreading}"
-
- # 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
- ${prV}/attributes.pm
- ${prV}/AutoLoader.pm
- ${prV}/autouse.pm
- ${prV}/base.pm
- ${prV}/bigint.pm
- ${prV}/bignum.pm
- ${prV}/bigrat.pm
- ${prV}/blib.pm
- ${prV}/bytes_heavy.pl
- ${prV}/bytes.pm
- ${prV}/Carp/Heavy.pm
- ${prV}/Carp.pm
- ${prV}/charnames.pm
- ${prV}/Class/Struct.pm
- ${prV}/constant.pm
- ${prV}/diagnostics.pm
- ${prV}/DirHandle.pm
- ${prV}/Exporter/Heavy.pm
- ${prV}/Exporter.pm
- ${prV}/ExtUtils/Command.pm
- ${prV}/ExtUtils/Constant.pm
- ${prV}/ExtUtils/Embed.pm
- ${prV}/ExtUtils/Installed.pm
- ${prV}/ExtUtils/Install.pm
- ${prV}/ExtUtils/Liblist.pm
- ${prV}/ExtUtils/MakeMaker.pm
- ${prV}/ExtUtils/Manifest.pm
- ${prV}/ExtUtils/Mkbootstrap.pm
- ${prV}/ExtUtils/Mksymlists.pm
- ${prV}/ExtUtils/MM_Any.pm
- ${prV}/ExtUtils/MM_MacOS.pm
- ${prV}/ExtUtils/MM.pm
- ${prV}/ExtUtils/MM_Unix.pm
- ${prV}/ExtUtils/MY.pm
- ${prV}/ExtUtils/Packlist.pm
- ${prV}/ExtUtils/testlib.pm
- ${prV}/ExtUtils/Miniperl.pm
- ${prV}/ExtUtils/Command/MM.pm
- ${prV}/ExtUtils/Constant/Base.pm
- ${prV}/ExtUtils/Constant/Utils.pm
- ${prV}/ExtUtils/Constant/XS.pm
- ${prV}/ExtUtils/Liblist/Kid.pm
- ${prV}/ExtUtils/MakeMaker/bytes.pm
- ${prV}/ExtUtils/MakeMaker/vmsish.pm
- ${prV}/fields.pm
- ${prV}/File/Basename.pm
- ${prV}/File/Compare.pm
- ${prV}/File/Copy.pm
- ${prV}/File/Find.pm
- ${prV}/FileHandle.pm
- ${prV}/File/Path.pm
- ${prV}/File/Spec.pm
- ${prV}/File/Spec/Unix.pm
- ${prV}/File/stat.pm
- ${prV}/filetest.pm
- ${prVA}/attrs.pm
- ${prVA}/auto/attrs
- ${prVA}/auto/Cwd/Cwd$(get_libname)
- ${prVA}/auto/Data/Dumper/Dumper$(get_libname)
- ${prVA}/auto/DynaLoader/dl_findfile.al
- ${prVA}/auto/Fcntl/Fcntl$(get_libname)
- ${prVA}/auto/File/Glob/Glob$(get_libname)
- ${prVA}/auto/IO/IO$(get_libname)
- ${prVA}/auto/POSIX/autosplit.ix
- ${prVA}/auto/POSIX/fstat.al
- ${prVA}/auto/POSIX/load_imports.al
- ${prVA}/auto/POSIX/POSIX.bs
- ${prVA}/auto/POSIX/POSIX$(get_libname)
- ${prVA}/auto/POSIX/assert.al
- ${prVA}/auto/POSIX/stat.al
- ${prVA}/auto/POSIX/tmpfile.al
- ${prVA}/auto/re/re$(get_libname)
- ${prVA}/auto/Socket/Socket$(get_libname)
- ${prVA}/auto/Storable/autosplit.ix
- ${prVA}/auto/Storable/_retrieve.al
- ${prVA}/auto/Storable/retrieve.al
- ${prVA}/auto/Storable/Storable$(get_libname)
- ${prVA}/auto/Storable/_store.al
- ${prVA}/auto/Storable/store.al
- ${prVA}/B/Deparse.pm
- ${prVA}/B.pm
- ${prVA}/Config.pm
- ${prVA}/Config_heavy.pl
- ${prVA}/CORE/libperl$(get_libname)
- ${prVA}/Cwd.pm
- ${prVA}/Data/Dumper.pm
- ${prVA}/DynaLoader.pm
- ${prVA}/encoding.pm
- ${prVA}/Errno.pm
- ${prVA}/Fcntl.pm
- ${prVA}/File/Glob.pm
- ${prVA}/_h2ph_pre.ph
- ${prVA}/IO/File.pm
- ${prVA}/IO/Handle.pm
- ${prVA}/IO/Pipe.pm
- ${prVA}/IO.pm
- ${prVA}/IO/Seekable.pm
- ${prVA}/IO/Select.pm
- ${prVA}/IO/Socket.pm
- ${prVA}/lib.pm
- ${prVA}/NDBM_File.pm
- ${prVA}/ops.pm
- ${prVA}/POSIX.pm
- ${prVA}/re.pm
- ${prVA}/Socket.pm
- ${prVA}/Storable.pm
- ${prVA}/threads
- ${prVA}/threads.pm
- ${prVA}/XSLoader.pm
- ${prV}/Getopt/Long.pm
- ${prV}/Getopt/Std.pm
- ${prV}/if.pm
- ${prV}/integer.pm
- ${prV}/IO/Socket/INET.pm
- ${prV}/IO/Socket/UNIX.pm
- ${prV}/IPC/Open2.pm
- ${prV}/IPC/Open3.pm
- ${prV}/less.pm
- ${prV}/List/Util.pm
- ${prV}/locale.pm
- ${prV}/open.pm
- ${prV}/overload.pm
- ${prV}/Pod/InputObjects.pm
- ${prV}/Pod/Man.pm
- ${prV}/Pod/ParseLink.pm
- ${prV}/Pod/Parser.pm
- ${prV}/Pod/Select.pm
- ${prV}/Pod/Text.pm
- ${prV}/Pod/Usage.pm
- ${prV}/PerlIO.pm
- ${prV}/Scalar/Util.pm
- ${prV}/SelectSaver.pm
- ${prV}/sigtrap.pm
- ${prV}/sort.pm
- ${prV}/stat.pl
- ${prV}/strict.pm
- ${prV}/subs.pm
- ${prV}/Symbol.pm
- ${prV}/Text/ParseWords.pm
- ${prV}/Text/Tabs.pm
- ${prV}/Text/Wrap.pm
- ${prV}/Time/Local.pm
- ${prV}/unicore/Canonical.pl
- ${prV}/unicore/Exact.pl
- ${prV}/unicore/lib/gc_sc/Digit.pl
- ${prV}/unicore/lib/gc_sc/Word.pl
- ${prV}/unicore/PVA.pl
- ${prV}/unicore/To/Fold.pl
- ${prV}/unicore/To/Lower.pl
- ${prV}/unicore/To/Upper.pl
- ${prV}/utf8_heavy.pl
- ${prV}/utf8.pm
- ${prV}/vars.pm
- ${prV}/vmsish.pm
- ${prV}/warnings
- ${prV}/warnings.pm
- ${prV}/warnings/register.pm"
-
- if use perlsuid ; then
- MINIMAL_PERL_INSTALL="${MINIMAL_PERL_INSTALL}
- ${bindir}/suidperl
- ${bindir}/sperl${MY_PV}"
- fi
-
- 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 | xargs -r rmdir &> /dev/null
- popd > /dev/null
-}