summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2006-02-07 23:43:57 +0000
committerAron Griffis <agriffis@gentoo.org>2006-02-07 23:43:57 +0000
commit748eee803245739a261bd4c0e18e3f318c08be52 (patch)
tree62ccc6149e3c5ba4a9e81ded100c3248c95b5e4c /dev-lang
parentPrefer to avoid eval and use a bash array for myconf instead, it's less (diff)
downloadhistorical-748eee803245739a261bd4c0e18e3f318c08be52.tar.gz
historical-748eee803245739a261bd4c0e18e3f318c08be52.tar.bz2
historical-748eee803245739a261bd4c0e18e3f318c08be52.zip
Prefer to avoid eval and use a bash array for myconf instead, it's less
error-prone Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/Manifest106
-rw-r--r--dev-lang/perl/perl-5.8.8.ebuild70
3 files changed, 141 insertions, 41 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 7480e87a4750..c61700616efc 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# 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.191 2006/02/07 21:44:47 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.192 2006/02/07 23:43:57 agriffis Exp $
+
+ 07 Feb 2006; Aron Griffis <agriffis@gentoo.org> perl-5.8.8.ebuild:
+ Prefer to avoid eval and use a bash array for myconf instead, it's less
+ error-prone
07 Feb 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8.ebuild:
src update
diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest
index a41f8344f167..4bae9659bcc7 100644
--- a/dev-lang/perl/Manifest
+++ b/dev-lang/perl/Manifest
@@ -1,57 +1,151 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 820e362440b54c89e20cc4aed4c442e6 ChangeLog 48268
+MD5 489a9cc8193e31b041a3169c29c981be ChangeLog 48425
+RMD160 a080c2e127846e41f2b2853ed5168e6ad25aa9e5 ChangeLog 48425
+SHA256 bf7ae616853689b04582c3632936194a51e53b7ba103dfe55f358d9d0bf206a7 ChangeLog 48425
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 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 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
-MD5 b24b22d75857d58a74084439c890f3dd perl-5.8.8.ebuild 19455
+RMD160 10dc91b734fd85fa30f325ea2998083bc5f6e36a perl-5.8.7.ebuild 19224
+SHA256 0a81d4c267392bb49a3ca605751275daa16be3172e288fe8cb401516c0f82a4d perl-5.8.7.ebuild 19224
+MD5 eca84fc7d3702150daceffb4f74f625d perl-5.8.8.ebuild 19285
+RMD160 d16e81819f81a183223aa127b3e4e5a29ac04bb6 perl-5.8.8.ebuild 19285
+SHA256 013c2a782a1ecb78a1b09a05e565e859723c2d959da3620038767cc4b31a365b perl-5.8.8.ebuild 19285
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFD6RTStG5z4I8BtQoRApOhAJ4+gBLKfhxIuIVwUQOKeC90c0BLxQCfSpNU
-HaKIazHJvARpsb82SAscT7M=
-=15ET
+iD8DBQFD6TDGJrHF4yAQTrARApwYAJ47cIJIUZXIWjchxlocQlRRKIs6RACcDiEH
+epdIPtoSVFiFVEVVldrqez8=
+=JYEX
-----END PGP SIGNATURE-----
diff --git a/dev-lang/perl/perl-5.8.8.ebuild b/dev-lang/perl/perl-5.8.8.ebuild
index 9284ab0351d6..46bbd0ae5f14 100644
--- a/dev-lang/perl/perl-5.8.8.ebuild
+++ b/dev-lang/perl/perl-5.8.8.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.3 2006/02/07 21:44:47 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8.ebuild,v 1.4 2006/02/07 23:43:57 agriffis Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -138,7 +138,13 @@ src_unpack() {
}
+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
@@ -152,7 +158,6 @@ src_configure() {
use ppc && filter-flags -mpowerpc-gpopt
export LC_ALL="C"
- local myconf=""
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
@@ -167,7 +172,7 @@ src_configure() {
then
einfo "using ithreads"
mythreading="-multi"
- myconf="-Dusethreads ${myconf}"
+ myconf -Dusethreads
myarch=${CHOST}
myarch="${myarch%%-*}-${osname}-thread"
else
@@ -194,19 +199,19 @@ src_configure() {
has_version '=sys-libs/db-1*' && myndbm='D'
fi
- myconf="${myconf} -${myndbm}i_ndbm -${mygdbm}i_gdbm -${mydb}i_db"
+ 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="${myconf} -Dd_u32align"
+ myconf -Dd_u32align
fi
if use perlsuid
then
- myconf="${myconf} -Dd_dosuid"
+ 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
@@ -215,55 +220,52 @@ src_configure() {
if use debug
then
CFLAGS="${CFLAGS} -g"
- myconf="${myconf} -DDEBUGGING"
+ myconf -DDEBUGGING
fi
if use sparc
then
- myconf="${myconf} -Ud_longdbl"
+ 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="${myconf} -Ui_db -Ui_ndbm"
+ myconf -Ui_db -Ui_ndbm
fi
- [ -n "${ABI}" ] && myconf="${myconf} -Dusrinc=\"$(get_ml_incdir)\""
+ [[ -n "${ABI}" ]] && myconf "-Dusrinc=$(get_ml_incdir)"
- [[ ${ELIBC} == "FreeBSD" ]] && myconf="${myconf} -Dlibc=\"/usr/$(get_libdir)/libc.a\""
+ [[ ${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="${myconf} -Dlibpth=\"/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)\""
+ myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi
- # We have to eval below, else above -Dlibpth is not seen by perl as one
- # argument ...
- eval $(echo \
sh Configure -des \
- -Darchname=\"${myarch}\" \
- -Dcccdlflags=\"-fPIC\" \
- -Dccdlflags=\"-rdynamic\" \
- -Dcc=\"$(tc-getCC)\" \
- -Dprefix=\"/usr\" \
- -Dvendorprefix=\"/usr\" \
- -Dsiteprefix=\"/usr\" \
- -Dlocincpth=\" \" \
- -Doptimize=\"${CFLAGS}\" \
+ -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\" \
+ -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"
+ "${myconf[@]}" || die "Unable to configure"
}
src_compile() {