Patch 27203 in blead - fixes c++ problems in XS code :)
authorMichael Cummings <mcummings@gentoo.org>
Wed, 29 Mar 2006 14:19:04 +0000 (14:19 +0000)
committerMichael Cummings <mcummings@gentoo.org>
Wed, 29 Mar 2006 14:19:04 +0000 (14:19 +0000)
Package-Manager: portage-2.1_pre6-r6

dev-lang/perl/ChangeLog
dev-lang/perl/Manifest
dev-lang/perl/files/digest-perl-5.8.8-r1 [new file with mode: 0644]
dev-lang/perl/files/perl-5.8.8-cplusplus.patch [new file with mode: 0644]
dev-lang/perl/perl-5.8.8-r1.ebuild [new file with mode: 0644]

index 695efd377749a5ec76cc8b790b2da5a2d57f82c2..27ee374243c9dd9f5e6bbce07aab5de6ded49e2a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/perl
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.198 2006/02/20 22:30:01 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.199 2006/03/29 14:19:04 mcummings Exp $
+
+*perl-5.8.8-r1 (29 Mar 2006)
+
+  29 Mar 2006; <mcumming@gentoo.org> +files/perl-5.8.8-cplusplus.patch,
+  +perl-5.8.8-r1.ebuild:
+  Patch 27203 in blead - fixes c++ problems in XS code :)
 
   20 Feb 2006; Michael Cummings <mcummings@gentoo.org>
   +files/perl-5.8.8-fbsdhints.patch, perl-5.8.8.ebuild:
index 4d5635cb0bc4786e91cc7ba78dcb1b933f75f59d..4d65065649c429df026266f808efb9e45ba0deaa 100644 (file)
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 74b7195f39043d8576eda9b00eb9f96e ChangeLog 49113
+MD5 eaae7bb3bcc8ee2a61fe358cf63f3c83 ChangeLog 49299
+RMD160 91434949a5aa9260e7b5aa4b9627ddc9f26c8bc8 ChangeLog 49299
+SHA256 5c642c1555f6526045e0b93a166c2ebf9693e87d26198e8d918605793a9d5609 ChangeLog 49299
 MD5 bd75f0242e3b7791803d089c38a3f920 files/CAN-2005-0156-suid.patch 703
+RMD160 d1f50057744ef79428667ebbf1e37c09e1791e45 files/CAN-2005-0156-suid.patch 703
+SHA256 123cc60410b2f09e4d10b892c151b3394a32c1b26dd216102c21fece64d45142 files/CAN-2005-0156-suid.patch 703
 MD5 2bd41aec5e22962224dc9376e27bdde3 files/CAN-2005-0448-rmtree.patch 7629
+RMD160 4cbf75b0f17902a5033ad34ed8811448701795a6 files/CAN-2005-0448-rmtree.patch 7629
+SHA256 b0ff3945278454a77b9f2deeff8c6998b3e3e4bd863e70e12cf5711f83359634 files/CAN-2005-0448-rmtree.patch 7629
 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r5 64
+RMD160 65b25cf2b098d17ae8354e087ff03f8c4a79a081 files/digest-perl-5.8.6-r5 64
+SHA256 0f4931ee9ace7fa9c9aedf2213b09a91789c1887d78d17c829c4b479aec9e4f3 files/digest-perl-5.8.6-r5 64
 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r6 64
+RMD160 65b25cf2b098d17ae8354e087ff03f8c4a79a081 files/digest-perl-5.8.6-r6 64
+SHA256 0f4931ee9ace7fa9c9aedf2213b09a91789c1887d78d17c829c4b479aec9e4f3 files/digest-perl-5.8.6-r6 64
 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r7 64
+RMD160 65b25cf2b098d17ae8354e087ff03f8c4a79a081 files/digest-perl-5.8.6-r7 64
+SHA256 0f4931ee9ace7fa9c9aedf2213b09a91789c1887d78d17c829c4b479aec9e4f3 files/digest-perl-5.8.6-r7 64
 MD5 0a07934d74ccb1133cf0f3650cb94efc files/digest-perl-5.8.6-r8 64
+RMD160 65b25cf2b098d17ae8354e087ff03f8c4a79a081 files/digest-perl-5.8.6-r8 64
+SHA256 0f4931ee9ace7fa9c9aedf2213b09a91789c1887d78d17c829c4b479aec9e4f3 files/digest-perl-5.8.6-r8 64
 MD5 c10e44e47d7f702efe7d4009064a97ca files/digest-perl-5.8.7 64
+RMD160 21381de31d6da67594744081be0a94da3fd067ff files/digest-perl-5.8.7 64
+SHA256 681fd892979121a8ff1ead060881146194c9fd448b77f94d6f88cdb5b3cce34c files/digest-perl-5.8.7 64
 MD5 c10e44e47d7f702efe7d4009064a97ca files/digest-perl-5.8.7-r1 64
+RMD160 21381de31d6da67594744081be0a94da3fd067ff files/digest-perl-5.8.7-r1 64
+SHA256 681fd892979121a8ff1ead060881146194c9fd448b77f94d6f88cdb5b3cce34c files/digest-perl-5.8.7-r1 64
 MD5 c10e44e47d7f702efe7d4009064a97ca files/digest-perl-5.8.7-r2 64
+RMD160 21381de31d6da67594744081be0a94da3fd067ff files/digest-perl-5.8.7-r2 64
+SHA256 681fd892979121a8ff1ead060881146194c9fd448b77f94d6f88cdb5b3cce34c files/digest-perl-5.8.7-r2 64
 MD5 c10e44e47d7f702efe7d4009064a97ca files/digest-perl-5.8.7-r3 64
+RMD160 21381de31d6da67594744081be0a94da3fd067ff files/digest-perl-5.8.7-r3 64
+SHA256 681fd892979121a8ff1ead060881146194c9fd448b77f94d6f88cdb5b3cce34c files/digest-perl-5.8.7-r3 64
 MD5 f408b45cbe8f14c380ae6ffce87c01c4 files/digest-perl-5.8.8 65
+RMD160 25b183ec478f7aba6ba98471e97a9fd9f96a6478 files/digest-perl-5.8.8 65
+SHA256 d083e2a403dd2011be23b6a000310da291fb19d2b9be606b324a2c7088187902 files/digest-perl-5.8.8 65
+MD5 750a1b4341f04665c5ce30e14a302f96 files/digest-perl-5.8.8-r1 241
+RMD160 a339ac2a520b2fd2f458daf89cd89eb36a8c98b2 files/digest-perl-5.8.8-r1 241
+SHA256 1067b25eabccaa2d61cfc9db27e31c6b18d075e440713e44dcde000c71bbf178 files/digest-perl-5.8.8-r1 241
 MD5 154013a841cbb251d7b63fb006b4006f files/file_path_rmtree.patch 1068
+RMD160 cb57d280e9a4b0e46786bb2e83e44fd3c5fb3615 files/file_path_rmtree.patch 1068
+SHA256 3b1ee1e7f056635e6fbd17a3928a62329808c2b8a9a1d07c0abc283eeee65e74 files/file_path_rmtree.patch 1068
 MD5 44e1f1420947cc552c66fb434ba4c855 files/perl-5.8.4-NDBM-GDBM-compat.patch 428
+RMD160 547a44433d92d800a26375a36eec47ebc1032545 files/perl-5.8.4-NDBM-GDBM-compat.patch 428
+SHA256 aa414c4ad4ebe271787ca79a414eb4e1926407c1085152ae5b172049482e012c files/perl-5.8.4-NDBM-GDBM-compat.patch 428
 MD5 5dfd23c2236b382d031a9513bc12f3f1 files/perl-5.8.5-tempfiles.patch 2113
+RMD160 5ad911e276c19f2e6da38f1fe421a5d913c191a9 files/perl-5.8.5-tempfiles.patch 2113
+SHA256 904f8f9e13dbca3e4a09e9695fcae78632d439634bb00e85ef63c7d4d2881c33 files/perl-5.8.5-tempfiles.patch 2113
 MD5 c5cc36940b2488a37c3dc2287f6e672c files/perl-5.8.6-tempfiles.patch 2115
+RMD160 12e384c9a9b5a3a1d88319330869f68b053f9107 files/perl-5.8.6-tempfiles.patch 2115
+SHA256 ac1a7eebf45f1206ea06e594810ab441d1050d6d4dd370bda28bb357d3efbd7d files/perl-5.8.6-tempfiles.patch 2115
 MD5 fd8a46de4b22dbf9146a6d0459e812c4 files/perl-5.8.7-CAN-2005-0448-rmtree.patch 6961
+RMD160 bf242f32c1e1450a7d4d252cdc54cace36b50c62 files/perl-5.8.7-CAN-2005-0448-rmtree.patch 6961
+SHA256 d6565afabbc35e0e1aeecfb469eaf037f892834312a7c2616357a309cd56e3f1 files/perl-5.8.7-CAN-2005-0448-rmtree.patch 6961
 MD5 044b90a8895f8a03bef8e4cf5759eecc files/perl-5.8.7-MakeMaker-RUNPATH.patch 859
+RMD160 b0e95fcd9b1bbc085e9986f8910e3fbcf3f78eb2 files/perl-5.8.7-MakeMaker-RUNPATH.patch 859
+SHA256 3d327c525e0cf57899eca48d417fa4363f40da9b0d6b70b61e951521749047ab files/perl-5.8.7-MakeMaker-RUNPATH.patch 859
 MD5 528fa2521c530d5a47df32b663e629af files/perl-5.8.7-regexp-nossp.patch 460
+RMD160 dde3a25904275896e98d7b7f3a02926c8dbc5ca5 files/perl-5.8.7-regexp-nossp.patch 460
+SHA256 e2d923711bb856b3c7f790dbc1cd1f468d647c1e50a3ff8a18745023c73b3e36 files/perl-5.8.7-regexp-nossp.patch 460
 MD5 26a1e7c48c7f68f39db4262500f6a1d8 files/perl-5.8.7-tempfiles.patch 1007
+RMD160 e3b5b7cd6b35b2ab66ccfb6a98cb50c0f1cb9fa8 files/perl-5.8.7-tempfiles.patch 1007
+SHA256 2cc4a635f3d20417531884d0a821a0677efffe5caa642cf7d366cda210b6f267 files/perl-5.8.7-tempfiles.patch 1007
 MD5 fd8a46de4b22dbf9146a6d0459e812c4 files/perl-5.8.8-CAN-2005-0448-rmtree.patch 6961
+RMD160 bf242f32c1e1450a7d4d252cdc54cace36b50c62 files/perl-5.8.8-CAN-2005-0448-rmtree.patch 6961
+SHA256 d6565afabbc35e0e1aeecfb469eaf037f892834312a7c2616357a309cd56e3f1 files/perl-5.8.8-CAN-2005-0448-rmtree.patch 6961
 MD5 93a7b749eec75f6ba4bc7c4edf3a0ccd files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch 4963
+RMD160 96dfe54660afdcbd24007ffce886f667270694e7 files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch 4963
+SHA256 49527cd4272ba177b39562363bf34ec6c7b6e709ee6ac770b7fccc302d18b459 files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch 4963
+MD5 c3eeecbfcccfc4787f5157ad8b29ac7e files/perl-5.8.8-cplusplus.patch 854
+RMD160 1fbfc7ec9940622beb644ce0fa98a6f52131c9db files/perl-5.8.8-cplusplus.patch 854
+SHA256 ea1368e609b0d992b6cd5f92c327768d8c61ca2096826f26af2576263efb8a89 files/perl-5.8.8-cplusplus.patch 854
 MD5 476fc96783fc1fd13c86aa1e66b98778 files/perl-5.8.8-dragonfly-clean.patch 5211
+RMD160 d2411913185276cd9c9aa55a614ae2ed13d22fe9 files/perl-5.8.8-dragonfly-clean.patch 5211
+SHA256 08b22fe26695f6f7f7d21ca2628954eded91205b64450e24d0b295eb75952b6c files/perl-5.8.8-dragonfly-clean.patch 5211
 MD5 6a2521ba615f5a59d06b6c4e4f2ac253 files/perl-5.8.8-fbsdhints.patch 1190
+RMD160 c55ec6943e7a3957939d3a1f348d01496eefe0e8 files/perl-5.8.8-fbsdhints.patch 1190
+SHA256 339a73f860025b53ef12a394138abb71ec22c027c5a338fb6f29085e127c321b files/perl-5.8.8-fbsdhints.patch 1190
 MD5 b67f84d9f78688c8d1d06503241d0f6d files/perl-5.8.8-lib64.patch 3393
+RMD160 406206c33b10b4af8cb2d1aba2fa6aadf5d9eea6 files/perl-5.8.8-lib64.patch 3393
+SHA256 3efe8048934093a1a66bc37b22fbb56a6e10df2940bb85b57802c9129c9bd1bd files/perl-5.8.8-lib64.patch 3393
 MD5 e1310772583a085881cd30e53546410d files/perl-5.8.8-links.patch 2925
+RMD160 68116f3922d1e4d818cf65965b1886fc55b14faf files/perl-5.8.8-links.patch 2925
+SHA256 aeecee505f05ab0d7336142119f7a3e6d061b8fd2c7bbf9bd88cfb0421323bea files/perl-5.8.8-links.patch 2925
 MD5 f6c5dc893c771f72cc183c946628d35e files/perl-5.8.8-reorder-INC.patch 3046
+RMD160 73bc824bebee8889073656a7b547dc63b35696dc files/perl-5.8.8-reorder-INC.patch 3046
+SHA256 136ca6c6cfaa3467f6a164f26b34ff06cc55823ca5723118764589cc15d37aed files/perl-5.8.8-reorder-INC.patch 3046
 MD5 c2612d59f380ad6e0c2de4d941e83dfd files/perl-cleaner 8879
+RMD160 8b062a60cabf31b011b54e94ad905eed153c0942 files/perl-cleaner 8879
+SHA256 7862200bccbc1286a579f190db513ba295e1c208e9e29629369dd27ee4cb8107 files/perl-cleaner 8879
 MD5 cc54c9f18cd584f4cac0ec109eae9335 files/perl-exp_intwrap.patch 1635
+RMD160 275f05a9a1070e6abf51fea443e8bacccb599e74 files/perl-exp_intwrap.patch 1635
+SHA256 24450c746f930dfd78670cd6b7936929302625fc94db2f78dd6b4cd4287dffe8 files/perl-exp_intwrap.patch 1635
 MD5 060e9f10466fdc1268c75a7cf4dcbc7c files/perl-h2ph-ansi-header.patch 446
+RMD160 8baf89df0d3f916a8c4f437444fa1af01f5fa8b0 files/perl-h2ph-ansi-header.patch 446
+SHA256 dc28a8ccba56e0aa5e01b0ecf68a163ebfb9460917d201f1f6d9a1efef06c788 files/perl-h2ph-ansi-header.patch 446
 MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-noksh.patch 611
+RMD160 6ddb9e7140c60e05042c3c488c97399a86f965fc files/perl-noksh.patch 611
+SHA256 0861f7f54c184e99a0ffeebeab9420d969d2002f921bc3fb14841a1e24be1f5e files/perl-noksh.patch 611
 MD5 01af75daf3d222a668059e90d78a1f9d files/perl-nonblock.patch 400
+RMD160 11ea0cd9d56418c08400d7215536055890ab4a32 files/perl-nonblock.patch 400
+SHA256 383cfbfb8ac0f15e5da8ff953fe41675f5fde798151b2d1644542dfaca145eef files/perl-nonblock.patch 400
 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-perldoc-emptydirs.patch 489
+RMD160 66d619f5811c1c35d16776e23a0a580bd83fe19b files/perl-perldoc-emptydirs.patch 489
+SHA256 e8c52d67793f0a5ae0aee52a3b9db2b348a1303b57069d6f82c4bb499f45ee2f files/perl-perldoc-emptydirs.patch 489
 MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-picdl.patch 250
+RMD160 2a9cb2fe5debb0db2d3fd063f52f459ee4f4946f files/perl-picdl.patch 250
+SHA256 fdbe94e869457b7e62bdc76b82a13ecd6e500c223d609b1767285190efd63cfa files/perl-picdl.patch 250
 MD5 4e99f7529e149661372283c981cf17ff files/perl-prelink-lpthread.patch 476
+RMD160 f3252258e5f7a0f82b5f9ea49598ea9f4b0b44b6 files/perl-prelink-lpthread.patch 476
+SHA256 289d0bdd08105e7fdf1c2d683d76a0cdcd009998f3ecd84f3a75cf79ab84e7a0 files/perl-prelink-lpthread.patch 476
 MD5 528fa2521c530d5a47df32b663e629af files/perl-regexp-nossp.patch 460
+RMD160 dde3a25904275896e98d7b7f3a02926c8dbc5ca5 files/perl-regexp-nossp.patch 460
+SHA256 e2d923711bb856b3c7f790dbc1cd1f468d647c1e50a3ff8a18745023c73b3e36 files/perl-regexp-nossp.patch 460
 MD5 f7324a62f22aabde3387b7e8a8b2106e files/perl-reorder-INC.patch 1141
+RMD160 4a889fa029fb77e7454ed0c6f7870359340df672 files/perl-reorder-INC.patch 1141
+SHA256 4e075cb6b6b418ab3b2a6f6b9af633ac51cc7d7749330d3981fa69d0f2d16564 files/perl-reorder-INC.patch 1141
 MD5 f98759a75347e0b54190850b8295c2cb files/perl-tempfiles.patch 2023
+RMD160 3b3a2240c5360dc2559028b07795895ef9ef885f files/perl-tempfiles.patch 2023
+SHA256 25cbb3c9e64c0c0a674aeb27835aa14b8683b5103ae69c0d0ebb3042ed4bd3f9 files/perl-tempfiles.patch 2023
 MD5 ce442db939c59218a16be167f793b817 files/perl-uclibc.patch 573
+RMD160 d8a1b40e86094a63f60783f550afd1087bb5a5f0 files/perl-uclibc.patch 573
+SHA256 a054e63156fb2f1c167c2806f4d8c1a97a85dc0eecf2bd737bb63c92f079e98d files/perl-uclibc.patch 573
 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305
+SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata.xml 305
 MD5 b5fbfeebdb7aac043723a65b9787bfc6 perl-5.8.6-r5.ebuild 17658
+RMD160 6e3ad8432f51811261f3e58d07ccd13b1db087ce perl-5.8.6-r5.ebuild 17658
+SHA256 0b1f9c27cb8be57e5a65d7a309a32c7b8300b6be7389d9226f41ad8b1df9a6b4 perl-5.8.6-r5.ebuild 17658
 MD5 c78909c32eeb46e055fed5d10ea64eaa perl-5.8.6-r6.ebuild 18037
+RMD160 411d385d75a8a6db2d5260fa98d1236c42d3d625 perl-5.8.6-r6.ebuild 18037
+SHA256 67e5c0439e04bdec73b6f7455e6f04b120e49fd24152dc42e9ffe2f9902c0abc perl-5.8.6-r6.ebuild 18037
 MD5 4172de8ec3a494554ea74014f5443a0f perl-5.8.6-r7.ebuild 18104
+RMD160 10a18e9aeab11bf634a5b5b2fcd083f2afe42bc7 perl-5.8.6-r7.ebuild 18104
+SHA256 10dae667d73b013883398472e63abe7ccad6bed38b56e795d423cfd2dd74af9d perl-5.8.6-r7.ebuild 18104
 MD5 9ca9d08fd5ba7584ec124bdfa3d5afba perl-5.8.6-r8.ebuild 18171
+RMD160 fc88bc6d58c709821971b8c4a7c271d7375a77f9 perl-5.8.6-r8.ebuild 18171
+SHA256 397c3962c7c1ff182fee189ee19903a309de000fb100755b4ada288d6cd1dc46 perl-5.8.6-r8.ebuild 18171
 MD5 eed286c2c0e5a6a0baa1b8c4730f93ba perl-5.8.7-r1.ebuild 19456
+RMD160 148f5948818eafd5f5755d00b3c46b33e536f12b perl-5.8.7-r1.ebuild 19456
+SHA256 b7f8d62c5dfd23485d48441f7f230240631d76db26331809e5770c661aeaafb1 perl-5.8.7-r1.ebuild 19456
 MD5 dfddff8d434bcd0bd02f8fc47f682089 perl-5.8.7-r2.ebuild 19525
+RMD160 98027f8e772b5d3f1241e93c416001081e53eaa6 perl-5.8.7-r2.ebuild 19525
+SHA256 4d22ba0d01c0f4c5ca19e2b8ac14636f8868cd8327b8c280bb59ef5d5558f852 perl-5.8.7-r2.ebuild 19525
 MD5 4f26a59cea9d114b7ee5e3e338df38df perl-5.8.7-r3.ebuild 19608
+RMD160 887fa120e134bdb47468a00b35980aa67259c2b8 perl-5.8.7-r3.ebuild 19608
+SHA256 60b6ad9d8d26184db24c7bc0c4b1b2dc5d0d5ce0aa9fa756ccdf59e0b42b3cbc perl-5.8.7-r3.ebuild 19608
 MD5 5af1d9db05e7055740baff2a28fbcbee perl-5.8.7.ebuild 19224
+RMD160 10dc91b734fd85fa30f325ea2998083bc5f6e36a perl-5.8.7.ebuild 19224
+SHA256 0a81d4c267392bb49a3ca605751275daa16be3172e288fe8cb401516c0f82a4d perl-5.8.7.ebuild 19224
+MD5 e0ba13d6b7510e6bc610c45fb60fa8a0 perl-5.8.8-r1.ebuild 18858
+RMD160 ba6247d66cf2f36c0984da4f8dbfa3726ac3b46c perl-5.8.8-r1.ebuild 18858
+SHA256 acb4907da7ee083221eec7c132f3995368b40e2aa32f43e3f79b50659606c37f perl-5.8.8-r1.ebuild 18858
 MD5 9981bea0123b51f5b13f7440608a28f7 perl-5.8.8.ebuild 18728
+RMD160 8a49d93e06083f117e61ead33306296db610688a perl-5.8.8.ebuild 18728
+SHA256 0c95755dd47b9a63d91232ac4748fd41e46b7b3d6adde3302c2a137910e91774 perl-5.8.8.ebuild 18728
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFD+kL+tG5z4I8BtQoRAvRmAJ0X/lgeUxuQKwCfKcAGS6+nD2kSgACfQr20
-vRBsFMAmlbSBJI0OXEKqlOk=
-=WPyA
+iD8DBQFEKpdhtG5z4I8BtQoRAjCqAJ4qo7Uu6vBDlXDHLGJ7UEZNmV6eIQCeJ/Pw
+weDutkKSf3k1A4FFySWpvJs=
+=HnNX
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/perl/files/digest-perl-5.8.8-r1 b/dev-lang/perl/files/digest-perl-5.8.8-r1
new file mode 100644 (file)
index 0000000..0f54507
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a377c0c67ab43fd96eeec29ce19e8382 perl-5.8.8.tar.bz2 10123359
+RMD160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b perl-5.8.8.tar.bz2 10123359
+SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9 perl-5.8.8.tar.bz2 10123359
diff --git a/dev-lang/perl/files/perl-5.8.8-cplusplus.patch b/dev-lang/perl/files/perl-5.8.8-cplusplus.patch
new file mode 100644 (file)
index 0000000..064bda4
--- /dev/null
@@ -0,0 +1,22 @@
+--- perl.h.orig        2006-03-29 08:53:46.000000000 -0500
++++ perl.h     2006-03-29 08:54:19.000000000 -0500
+@@ -159,7 +159,7 @@ struct perl_thread;
+ #endif
+ #ifndef PERL_UNUSED_DECL
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define PERL_UNUSED_DECL __attribute__unused__
+ #  else
+ #    define PERL_UNUSED_DECL
+--- XSUB.h.orig        2006-03-29 08:54:24.000000000 -0500
++++ XSUB.h     2006-03-29 08:54:48.000000000 -0500
+@@ -91,7 +91,7 @@ handled automatically by C<xsubpp>.
+ #if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
+ #  define XS(name) __declspec(dllexport) void name(pTHX_ CV* cv)
+ #else
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define XS(name) void name(pTHX_ CV* cv __attribute__unused__)
+ #  else
+ #    define XS(name) void name(pTHX_ CV* cv)
diff --git a/dev-lang/perl/perl-5.8.8-r1.ebuild b/dev-lang/perl/perl-5.8.8-r1.ebuild
new file mode 100644 (file)
index 0000000..d5e390f
--- /dev/null
@@ -0,0 +1,641 @@
+# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/03/29 14:19:04 mcummings Exp $
+
+inherit eutils 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 Reporting 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-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="berkdb debug doc gdbm ithreads perlsuid build"
+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
+       <sys-devel/libperl-5.9
+       !<perl-core/ExtUtils-MakeMaker-6.17
+       !<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 )"
+
+PDEPEND=">=app-admin/perl-cleaner-1.03"
+
+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
+}
+
+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
+
+       # 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
+
+       use amd64 && cd ${S} && epatch ${FILESDIR}/${P}-lib64.patch
+
+       [[ ${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
+
+}
+
+myconf() {
+       # the myconf array is declared in src_configure
+       myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+       declare -a myconf
+
+       # some arches and -O do not mix :)
+       use arm && replace-flags -O? -O1
+       use ppc && replace-flags -O? -O1
+       use ia64 && 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
+
+       export LC_ALL="C"
+
+       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://perldoc.com/perl5.8.2/INSTALL.html#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
+
+       [[ -n "${ABI}" ]] && myconf "-Dusrinc=$(get_ml_incdir)"
+
+       [[ ${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 \
+               "${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.patch
+
+       # Remove those items we PDPEND on
+       rm -f ${D}/usr/bin/instmodsh
+       rm -f ${D}/usr/bin/pod2usage
+       rm -f ${D}/usr/bin/podchecker
+       rm -f ${D}/usr/bin/podselect
+       rm -f ${D}/usr/bin/prove
+       rm -f ${D}/usr/share/man/man1/pod2usage*
+       rm -f ${D}/usr/share/man/man1/podchecker*
+       rm -f ${D}/usr/share/man/man1/podselect*
+       rm -f ${D}/usr/share/man/man1/prove*
+       rm -f ${D}/usr/share/man/man1/instmodsh*
+       if use build ; then
+               src_remove_extra_files
+       fi
+
+}
+
+src_remove_extra_files()
+{
+       local prefix="./usr" # ./ is important
+       local bindir="${prefix}/bin"
+       local perlroot="${prefix}/lib/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/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
+}
+
+pkg_postinst() {
+       # Make sure we do not have stale/invalid libperl.so 's ...
+       if [ -f "${ROOT}usr/$(get_libdir)/libperl$(get_libname)" -a ! -L "${ROOT}usr/$(get_libdir)/libperl$(get_libname)" ]
+       then
+               mv -f ${ROOT}usr/$(get_libdir)/libperl$(get_libname) ${ROOT}usr/$(get_libdir)/libperl$(get_libname).old
+       fi
+
+       local perllib="`readlink -f ${ROOT}usr/$(get_libdir)/libperl$(get_libname) | sed -e 's:^.*/::'`"
+
+       # If we are installing perl, we need the /usr/lib/libperl.so symlink to
+       # point to the version of perl we are running, else builing something
+       # against libperl.so will break ...
+       if [ "${perllib}" != "${LIBPERL}" ]
+       then
+               # Delete stale symlinks
+               rm -f ${ROOT}usr/$(get_libdir)/libperl$(get_libname)
+               rm -f ${ROOT}usr/$(get_libdir)/libperl$(get_libname ${PERLSLOT})
+               # Regenerate libperl.so.${PERLSLOT}
+               ln -snf ${LIBPERL} ${ROOT}usr/$(get_libdir)/libperl$(get_libname).${PERLSLOT}
+               # Create libperl.so (we use the *soname* versioned lib here ..)
+               ln -snf libperl$(get_libname ${PERLSLOT}) ${ROOT}usr/$(get_libdir)/libperl$(get_libname)
+       fi
+
+       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 * sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/*
+               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
+}
+
+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 ""
+
+}