diff options
author | Keri Harris <keri@gentoo.org> | 2006-09-12 09:17:13 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-09-12 09:17:13 +0000 |
commit | c5111439545de7579d27cb040061df424bd9a892 (patch) | |
tree | 7f607ba8c0b91726d2edb9e3a40afabda29f2eb1 /dev-lang/swi-prolog | |
parent | Stable on x86, bug 146271. (diff) | |
download | historical-c5111439545de7579d27cb040061df424bd9a892.tar.gz historical-c5111439545de7579d27cb040061df424bd9a892.tar.bz2 historical-c5111439545de7579d27cb040061df424bd9a892.zip |
Version bump.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/swi-prolog/Manifest | 28 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/digest-swi-prolog-5.6.19 | 3 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r2.patch | 336 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/swi-prolog-PLBASE-r2.patch | 86 | ||||
-rw-r--r-- | dev-lang/swi-prolog/files/swi-prolog-portage-r1.patch | 29 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.19.ebuild | 128 |
7 files changed, 614 insertions, 5 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 3ad8d430353f..31de69af00a6 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.30 2006/09/01 10:20:47 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.31 2006/09/12 09:17:13 keri Exp $ + +*swi-prolog-5.6.19 (12 Sep 2006) + + 12 Sep 2006; keri <keri@gentoo.org> +files/swi-prolog-CFLAGS-r2.patch, + +files/swi-prolog-PLBASE-r2.patch, +files/swi-prolog-portage-r1.patch, + +swi-prolog-5.6.19.ebuild: + Version bump. *swi-prolog-5.6.18 (01 Sep 2006) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index c563300c6b67..c8f321d13ba6 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -14,6 +14,10 @@ AUX swi-prolog-CFLAGS-r1.patch 8903 RMD160 7e6c0e80fd80ba0b10548380e59096f440182 MD5 83022342c8d6d1af20e63d469eee073f files/swi-prolog-CFLAGS-r1.patch 8903 RMD160 7e6c0e80fd80ba0b10548380e59096f4401821c2 files/swi-prolog-CFLAGS-r1.patch 8903 SHA256 3e19a2a395ea2abd0931256868020350524aa8788a268f1dd352c35760b2bc0c files/swi-prolog-CFLAGS-r1.patch 8903 +AUX swi-prolog-CFLAGS-r2.patch 10475 RMD160 ee1ee90d4542de168787a1a98b1bcca6451f5760 SHA1 ad41ac9eee26461506c13776aac1f3ed9cbf3be7 SHA256 85051afdbe983622900b9b3692acfb08da338da8ade1be296992ab78f8391986 +MD5 433655357c83157d2fb532efd135d7f5 files/swi-prolog-CFLAGS-r2.patch 10475 +RMD160 ee1ee90d4542de168787a1a98b1bcca6451f5760 files/swi-prolog-CFLAGS-r2.patch 10475 +SHA256 85051afdbe983622900b9b3692acfb08da338da8ade1be296992ab78f8391986 files/swi-prolog-CFLAGS-r2.patch 10475 AUX swi-prolog-CFLAGS.patch 8657 RMD160 da997f0fb6a068744a81bcd91b15e7f35e025267 SHA1 c19e04ce5cdeb66bb799fbcccc9e0dad7563759c SHA256 2626faefcfcac1a41ef4d1aaccf7ad80f5fe0ae9fbb3cb3dc692182712d40b71 MD5 bc91650feaf27f01c834bffd69a0b279 files/swi-prolog-CFLAGS.patch 8657 RMD160 da997f0fb6a068744a81bcd91b15e7f35e025267 files/swi-prolog-CFLAGS.patch 8657 @@ -22,6 +26,10 @@ AUX swi-prolog-PLBASE-r1.patch 2612 RMD160 98a2aec985aa0bc38e5a76d460dd724ab199b MD5 5735709fce96aead1b7ba6c23bd83ba6 files/swi-prolog-PLBASE-r1.patch 2612 RMD160 98a2aec985aa0bc38e5a76d460dd724ab199b442 files/swi-prolog-PLBASE-r1.patch 2612 SHA256 91b090d1c5ddd14f24671d43d0f021e47d1fd6652f1dd518f1889052c0e601d8 files/swi-prolog-PLBASE-r1.patch 2612 +AUX swi-prolog-PLBASE-r2.patch 2920 RMD160 40ea3c1e611a75c3821c7f23736197fa2451b2ed SHA1 8c1d26e37c6f15d6a27bfd97392e8ec1b7fea3e9 SHA256 4c106febae1e98d2a7cffd13839dee3890f8c2b9c6d78ecd7468a5c4ee37a693 +MD5 fe9375dc9822272821a01e00d7d6a562 files/swi-prolog-PLBASE-r2.patch 2920 +RMD160 40ea3c1e611a75c3821c7f23736197fa2451b2ed files/swi-prolog-PLBASE-r2.patch 2920 +SHA256 4c106febae1e98d2a7cffd13839dee3890f8c2b9c6d78ecd7468a5c4ee37a693 files/swi-prolog-PLBASE-r2.patch 2920 AUX swi-prolog-PLBASE.patch 3884 RMD160 b7b08ca7150503b9ee40f33e392147612dc3c2b9 SHA1 a93f82133892df4478291d8d8cf791e3672e3d62 SHA256 c49a3fa0c40a16dc9cd11a3cbc4e7d05c527a6361b22a9660b069c99bd09ee91 MD5 9709fe20e8ef457682eb0a5bff5d9940 files/swi-prolog-PLBASE.patch 3884 RMD160 b7b08ca7150503b9ee40f33e392147612dc3c2b9 files/swi-prolog-PLBASE.patch 3884 @@ -94,6 +102,10 @@ AUX swi-prolog-packages-test.patch 8017 RMD160 35756ef63a311e9b75b5b33faca71eda0 MD5 42541efa6c6cf06c3786eee8669ade82 files/swi-prolog-packages-test.patch 8017 RMD160 35756ef63a311e9b75b5b33faca71eda02e1d3b9 files/swi-prolog-packages-test.patch 8017 SHA256 7109f8cf753ba0397e875b4bc5868f2eca4d41f6b1925a75bd139f0ef454929c files/swi-prolog-packages-test.patch 8017 +AUX swi-prolog-portage-r1.patch 905 RMD160 5779fd0fa1c63f09916049f8a4a8fd74fad3cb72 SHA1 f91a6d143b9cb987dfdd3d3b96dce20248fa3b23 SHA256 2d87e3d60193b41dc7bd413abcbb395ec3e09b07f75e80ce60504b18843104c9 +MD5 f38be35e222a444bc388817532347ecd files/swi-prolog-portage-r1.patch 905 +RMD160 5779fd0fa1c63f09916049f8a4a8fd74fad3cb72 files/swi-prolog-portage-r1.patch 905 +SHA256 2d87e3d60193b41dc7bd413abcbb395ec3e09b07f75e80ce60504b18843104c9 files/swi-prolog-portage-r1.patch 905 AUX swi-prolog-portage.patch 1313 RMD160 1e39cf3eace82d805fd1dcdbce72fd7a0cc0b18e SHA1 695311e22748c7b32e357fcc96ecfc717183d249 SHA256 043e86898cfe185fde4d34f20d2299e59d77e68529bd6cae7808e5640db8de37 MD5 59a03d4ccddf260137fcd84ace39a7bb files/swi-prolog-portage.patch 1313 RMD160 1e39cf3eace82d805fd1dcdbce72fd7a0cc0b18e files/swi-prolog-portage.patch 1313 @@ -120,6 +132,7 @@ RMD160 2d2b04ae715eb04e53825d8eb4ce3f60e4c253f1 files/swi-prolog-xpce-test.patch SHA256 315591c9375734f4ed06096b58ee696df3b4e560236564b8538e71377bc94d3c files/swi-prolog-xpce-test.patch 4534 DIST pl-5.6.17.tar.gz 10652203 RMD160 7f6786013b43c2e00b8e4a3799cbad1f7cac2fab SHA1 e46e98b3ec8a69de3dc2eb147a9df9cbd1a17399 SHA256 4768761ec4ad4c7160373950bc21d6124c3641dfff9dbe5db4dd7c48433e0072 DIST pl-5.6.18.tar.gz 11517892 RMD160 238554526c0e0367c770d6aabb9a55900ca358b7 SHA1 4ded148ea657f43c78c951212f19f60e62db27b2 SHA256 85d33e30bf45c159cab90dc709fb7568621cf4e20769cf1dcc7e1238248231fb +DIST pl-5.6.19.tar.gz 11532046 RMD160 63dc2fccb2fd93a042e5cd5b55438e093c45af04 SHA1 95ed5c17fbe9c0159174b8ad1e8eefbbc8a8d3db SHA256 9897a7a08cd920ee6ad48f3da38d9add92f2992cf9e4339c9b17d055118702d8 DIST pl-5.6.8.tar.gz 9157044 RMD160 449a866a9fadf13c068393f8a4f76862ecbd2207 SHA1 56de45066ba1680ebf6a74d3b7be6ab8cd23293a SHA256 4ccfd6ed684f56750c089a8103e2d640c6591873e3f36b47a2e2d39958cccdf3 EBUILD swi-prolog-5.6.17-r1.ebuild 3625 RMD160 8ff817007c432c45193e45f9495c710fd1451a15 SHA1 7ac35c349d88e925a9df7a3f3e7b19504a7b8e14 SHA256 68f9267b83928db3887442de0dc86567a88f6003cd61fa1ab34bb0ad4605fd06 MD5 70de334a014db1a9157668d32f907167 swi-prolog-5.6.17-r1.ebuild 3625 @@ -133,14 +146,18 @@ EBUILD swi-prolog-5.6.18.ebuild 3247 RMD160 dfdb09706b067904dd0ff609ec051367dc7a MD5 76c8781c3d699b4febfdd44496256c71 swi-prolog-5.6.18.ebuild 3247 RMD160 dfdb09706b067904dd0ff609ec051367dc7af757 swi-prolog-5.6.18.ebuild 3247 SHA256 871e46f5e2504c6c084028068c9dba03749fa5ab04878703ae5d61ac63725a72 swi-prolog-5.6.18.ebuild 3247 +EBUILD swi-prolog-5.6.19.ebuild 3259 RMD160 8ea9cc4e7461ea36c16673abf6c2e179f3464e48 SHA1 db33057cc5f9ff63929b003f144369bb0f463059 SHA256 3425ae0214f84ff658e24350ccf78dc7a8f82b76ff1d1a47555fefe66b4dbb9b +MD5 2cf3dea4a066cc3fae8d443aee9b5ba3 swi-prolog-5.6.19.ebuild 3259 +RMD160 8ea9cc4e7461ea36c16673abf6c2e179f3464e48 swi-prolog-5.6.19.ebuild 3259 +SHA256 3425ae0214f84ff658e24350ccf78dc7a8f82b76ff1d1a47555fefe66b4dbb9b swi-prolog-5.6.19.ebuild 3259 EBUILD swi-prolog-5.6.8.ebuild 3535 RMD160 53fdbdda0ba795e9590b9ec4c094984f0cd50780 SHA1 29229935c52775a5bacd7319c87616ca922fd1cc SHA256 0a5a0a46d97b8603f18a12c93948581e844f38fa5cbe9a88256da52d97a297ea MD5 66b0e48b5e024bebc6040b005693ef10 swi-prolog-5.6.8.ebuild 3535 RMD160 53fdbdda0ba795e9590b9ec4c094984f0cd50780 swi-prolog-5.6.8.ebuild 3535 SHA256 0a5a0a46d97b8603f18a12c93948581e844f38fa5cbe9a88256da52d97a297ea swi-prolog-5.6.8.ebuild 3535 -MISC ChangeLog 6261 RMD160 2fa52244af5798ec7c52a38f0b36af9ca8002261 SHA1 2919f06a447ed1164fc490f570a6a9a30d933f2a SHA256 ce3055837992976ad308f5ec84975df2bf4c1ce615945b5f3b23a9ecd155a284 -MD5 70c34dcceb0b5d3c5e1667848b175a21 ChangeLog 6261 -RMD160 2fa52244af5798ec7c52a38f0b36af9ca8002261 ChangeLog 6261 -SHA256 ce3055837992976ad308f5ec84975df2bf4c1ce615945b5f3b23a9ecd155a284 ChangeLog 6261 +MISC ChangeLog 6487 RMD160 98d439909c9158a62d4ae5c2fd81a27e67d66b55 SHA1 9eb2f7180075add9afdbc942113f4a71639e357f SHA256 c78d38350bb97cdedd952a21a88c137f96b9ab69f18724d0cefe92c3c19410cf +MD5 7014bacec782f0f39e864f56fb971317 ChangeLog 6487 +RMD160 98d439909c9158a62d4ae5c2fd81a27e67d66b55 ChangeLog 6487 +SHA256 c78d38350bb97cdedd952a21a88c137f96b9ab69f18724d0cefe92c3c19410cf ChangeLog 6487 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 @@ -154,6 +171,9 @@ SHA256 56784b2db722fb8073bd5d963a45ba523b837ae255022761ed84c18b875f74fd files/di MD5 754619c1ebb515288f05b6d66022fba4 files/digest-swi-prolog-5.6.18 235 RMD160 de1c2a0d69b29bceab3609ce8bef2641ae91ca68 files/digest-swi-prolog-5.6.18 235 SHA256 c4b41c3c5b2494b23875845a4e9102fad601b3205d1d2a7163555a15a8b0c460 files/digest-swi-prolog-5.6.18 235 +MD5 cd80a2daf65f127b2756aa761c90447e files/digest-swi-prolog-5.6.19 235 +RMD160 ac38cd7af6d5363cd35b9d0c1780b6341d8ba3eb files/digest-swi-prolog-5.6.19 235 +SHA256 c6418abe7bb66540ec715cf5624f1cfd430f880d89911dbc3fdc671d89c75ce8 files/digest-swi-prolog-5.6.19 235 MD5 69c20c79c5aeb698888e72036cb021c6 files/digest-swi-prolog-5.6.8 229 RMD160 221664df6018bc92d6323e5c138dbb23e68f8d20 files/digest-swi-prolog-5.6.8 229 SHA256 c74fedc27886eb5e2b6fb24da242d983b5f0f34c0502f0b46386dbd7355ce76a files/digest-swi-prolog-5.6.8 229 diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.19 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.19 new file mode 100644 index 000000000000..15ca5339f863 --- /dev/null +++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.19 @@ -0,0 +1,3 @@ +MD5 b9ac4e8549246aea2fc3c79d4914ca97 pl-5.6.19.tar.gz 11532046 +RMD160 63dc2fccb2fd93a042e5cd5b55438e093c45af04 pl-5.6.19.tar.gz 11532046 +SHA256 9897a7a08cd920ee6ad48f3da38d9add92f2992cf9e4339c9b17d055118702d8 pl-5.6.19.tar.gz 11532046 diff --git a/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r2.patch b/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r2.patch new file mode 100644 index 000000000000..65cc25ba1daf --- /dev/null +++ b/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r2.patch @@ -0,0 +1,336 @@ +diff -ur pl-5.6.18.orig/packages/clib/configure pl-5.6.18/packages/clib/configure +--- pl-5.6.18.orig/packages/clib/configure 2006-01-11 09:41:55.000000000 +1300 ++++ pl-5.6.18/packages/clib/configure 2006-09-01 19:39:18.000000000 +1200 +@@ -3117,7 +3117,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3709,7 +3709,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/clib/maildrop/rfc2045/configure pl-5.6.18/packages/clib/maildrop/rfc2045/configure +--- pl-5.6.18.orig/packages/clib/maildrop/rfc2045/configure 2005-07-25 02:37:57.000000000 +1200 ++++ pl-5.6.18/packages/clib/maildrop/rfc2045/configure 2006-09-01 19:40:33.000000000 +1200 +@@ -3155,7 +3155,7 @@ + + if test "$GCC" = yes ; then + CXXFLAGS="$CXXFLAGS -Wall" +- CFLAGS="$CFLAGS -Wall" ++ CFLAGS="$CFLAGS -fpic -Wall" + fi + + +diff -ur pl-5.6.18.orig/packages/clib/maildrop/rfc822/configure pl-5.6.18/packages/clib/maildrop/rfc822/configure +--- pl-5.6.18.orig/packages/clib/maildrop/rfc822/configure 2005-07-25 02:37:57.000000000 +1200 ++++ pl-5.6.18/packages/clib/maildrop/rfc822/configure 2006-09-01 19:41:37.000000000 +1200 +@@ -3144,7 +3144,7 @@ + + if test "$GCC" = yes ; then + CXXFLAGS="$CXXFLAGS -Wall" +- CFLAGS="$CFLAGS -Wall" ++ CFLAGS="$CFLAGS -fpic -Wall" + fi + + +diff -ur pl-5.6.18.orig/packages/cppproxy/configure pl-5.6.18/packages/cppproxy/configure +--- pl-5.6.18.orig/packages/cppproxy/configure 2006-01-23 22:29:29.000000000 +1300 ++++ pl-5.6.18/packages/cppproxy/configure 2006-09-01 19:42:51.000000000 +1200 +@@ -3111,7 +3111,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3703,7 +3703,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/db/configure pl-5.6.18/packages/db/configure +--- pl-5.6.18.orig/packages/db/configure 2006-07-31 19:54:07.000000000 +1200 ++++ pl-5.6.18/packages/db/configure 2006-09-01 19:44:12.000000000 +1200 +@@ -3139,13 +3139,13 @@ + fi + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O + CWFLAGS= + fi +-CFLAGS="$CMFLAGS $CIFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +diff -ur pl-5.6.18.orig/packages/jpl/configure pl-5.6.18/packages/jpl/configure +--- pl-5.6.18.orig/packages/jpl/configure 2006-08-09 19:58:24.000000000 +1200 ++++ pl-5.6.18/packages/jpl/configure 2006-09-01 19:45:49.000000000 +1200 +@@ -3077,10 +3077,10 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS="-Wall" + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/ltx2htm/configure pl-5.6.18/packages/ltx2htm/configure +--- pl-5.6.18.orig/packages/ltx2htm/configure 2004-09-22 02:28:17.000000000 +1200 ++++ pl-5.6.18/packages/ltx2htm/configure 2006-09-01 19:49:17.000000000 +1200 +@@ -1351,7 +1351,7 @@ + CC=$PLLD + LD=$PLLD + LDSOFLAGS=-shared +- ++CMFLAGS=-fpic + SO="$PLSOEXT" + + TARGETS="unix.$SO socket.$SO cgi.$SO memfile.$SO" +@@ -2925,7 +2925,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3455,7 +3455,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS=-O2 ++ COFLAGS="$CFLAGS" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/nlp/configure pl-5.6.18/packages/nlp/configure +--- pl-5.6.18.orig/packages/nlp/configure 2005-11-26 23:54:48.000000000 +1300 ++++ pl-5.6.18/packages/nlp/configure 2006-09-01 19:50:31.000000000 +1200 +@@ -3111,7 +3111,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3703,7 +3703,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/odbc/configure pl-5.6.18/packages/odbc/configure +--- pl-5.6.18.orig/packages/odbc/configure 2006-02-16 09:48:34.000000000 +1300 ++++ pl-5.6.18/packages/odbc/configure 2006-09-01 19:52:33.000000000 +1200 +@@ -3147,7 +3147,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3739,7 +3739,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/semweb/configure pl-5.6.18/packages/semweb/configure +--- pl-5.6.18.orig/packages/semweb/configure 2006-03-08 03:43:04.000000000 +1300 ++++ pl-5.6.18/packages/semweb/configure 2006-09-01 19:53:47.000000000 +1200 +@@ -3145,7 +3145,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -4294,7 +4294,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O3 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/sgml/configure pl-5.6.18/packages/sgml/configure +--- pl-5.6.18.orig/packages/sgml/configure 2006-02-04 04:38:50.000000000 +1300 ++++ pl-5.6.18/packages/sgml/configure 2006-09-01 19:55:24.000000000 +1200 +@@ -3184,16 +3184,12 @@ + fi + + if test ! -z "$GCC"; then +- if test $gmake = yes; then +- COFLAGS='$(shell if test -r .coflags; then cat .coflags; else echo "-O2"; fi)' +- else +- COFLAGS="-O2 -fno-strict-aliasing" +- fi ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS="$CWFLAGS -Wall" + else + COFLAGS=-O + fi +-CFLAGS="$CMFLAGS" ++ + echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 + echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 + if test "${ac_cv_c_bigendian+set}" = set; then +diff -ur pl-5.6.18.orig/packages/ssl/configure pl-5.6.18/packages/ssl/configure +--- pl-5.6.18.orig/packages/ssl/configure 2006-02-04 04:38:50.000000000 +1300 ++++ pl-5.6.18/packages/ssl/configure 2006-09-01 19:56:34.000000000 +1200 +@@ -3147,7 +3147,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3739,7 +3739,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/table/configure pl-5.6.18/packages/table/configure +--- pl-5.6.18.orig/packages/table/configure 2005-01-31 23:47:37.000000000 +1300 ++++ pl-5.6.18/packages/table/configure 2006-09-01 19:58:05.000000000 +1200 +@@ -3112,7 +3112,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++ + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works + # for constant arguments. Useless! + echo "$as_me:$LINENO: checking for working alloca.h" >&5 +@@ -3704,7 +3704,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=-Wall + else + COFLAGS=-O +diff -ur pl-5.6.18.orig/packages/xpce/src/configure pl-5.6.18/packages/xpce/src/configure +--- pl-5.6.18.orig/packages/xpce/src/configure 2006-04-05 19:29:14.000000000 +1200 ++++ pl-5.6.18/packages/xpce/src/configure 2006-09-01 19:59:11.000000000 +1200 +@@ -4391,7 +4391,7 @@ + fi + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + if test "$ac_cv_header_stdc" = "yes" || test "$syslibh" = "yes"; then + CWFLAGS=-Wall + else +@@ -4401,7 +4401,7 @@ + COFLAGS=-O + CWFLAGS= + fi +-CFLAGS="$CMFLAGS" ++ + echo "$as_me:$LINENO: checking for inline" >&5 + echo $ECHO_N "checking for inline... $ECHO_C" >&6 + if test "${ac_cv_c_inline+set}" = set; then +diff -ur pl-5.6.18.orig/src/Makefile.in pl-5.6.18/src/Makefile.in +--- pl-5.6.18.orig/src/Makefile.in 2006-08-25 20:33:32.000000000 +1200 ++++ pl-5.6.18/src/Makefile.in 2006-09-01 19:36:22.000000000 +1200 +@@ -69,7 +69,7 @@ + CWFLAGS=@CWFLAGS@ + CIFLAGS=@CIFLAGS@ + CMFLAGS=@CMFLAGS@ +-CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS) ++CFLAGS= $(CWFLAGS) $(COFLAGS) $(CMFLAGS) + LDFLAGS=@LDFLAGS@ + + PLFOREIGN=@PLFOREIGN@ +diff -ur pl-5.6.18.orig/src/configure pl-5.6.18/src/configure +--- pl-5.6.18.orig/src/configure 2006-08-07 20:21:19.000000000 +1200 ++++ pl-5.6.18/src/configure 2006-09-01 19:35:33.000000000 +1200 +@@ -3807,7 +3807,7 @@ + esac + fi + else +- COFLAGS=$CFLAGS ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + fi + + +@@ -14816,7 +14816,7 @@ + LNLIBS="$LIBS" + fi + +-echo " CFLAGS=$CWFLAGS $COFLAGS $CIFLAGS $CMFLAGS" ++echo " CFLAGS=$CWFLAGS $COFLAGS $CMFLAGS" + echo " LDFLAGS=$LDFLAGS" + echo " LIBS=$LIBS" + +diff -ur pl-5.6.18.orig/src/libtai/Makefile.in pl-5.6.18/src/libtai/Makefile.in +--- pl-5.6.18.orig/src/libtai/Makefile.in 2006-07-11 20:41:05.000000000 +1200 ++++ pl-5.6.18/src/libtai/Makefile.in 2006-09-01 19:37:28.000000000 +1200 +@@ -29,7 +29,7 @@ + CIFLAGS=@CIFLAGS@ + CMFLAGS=@CMFLAGS@ + LDFLAGS=@LDFLAGS@ +-CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS) ++CFLAGS= $(CWFLAGS) $(COFLAGS) $(CMFLAGS) + + INSTALL=@INSTALL@ + INSTALL_PROGRAM=@INSTALL_PROGRAM@ +diff -ur pl-5.6.18.orig/src/rc/Makefile.in pl-5.6.18/src/rc/Makefile.in +--- pl-5.6.18.orig/src/rc/Makefile.in 2006-07-11 20:22:28.000000000 +1200 ++++ pl-5.6.18/src/rc/Makefile.in 2006-09-01 19:36:56.000000000 +1200 +@@ -30,7 +30,7 @@ + CIFLAGS=@CIFLAGS@ + CMFLAGS=@CMFLAGS@ + LDFLAGS=@LDFLAGS@ +-CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS) ++CFLAGS= $(CWFLAGS) $(COFLAGS) $(CMFLAGS) + + INSTALL=@INSTALL@ + INSTALL_PROGRAM=@INSTALL_PROGRAM@ diff --git a/dev-lang/swi-prolog/files/swi-prolog-PLBASE-r2.patch b/dev-lang/swi-prolog/files/swi-prolog-PLBASE-r2.patch new file mode 100644 index 000000000000..d88e78659e61 --- /dev/null +++ b/dev-lang/swi-prolog/files/swi-prolog-PLBASE-r2.patch @@ -0,0 +1,86 @@ +diff -ur pl-5.6.18.orig/packages/Makefile.in pl-5.6.18/packages/Makefile.in +--- pl-5.6.18.orig/packages/Makefile.in 2006-08-30 20:35:12.000000000 +1200 ++++ pl-5.6.18/packages/Makefile.in 2006-09-01 20:21:48.000000000 +1200 +@@ -30,7 +30,7 @@ + bindir=@bindir@ + PL=@PL@@RT@ + PLVERSION=@PLVERSION@ +-PLBASE=$(prefix)/lib/@PL@-$(PLVERSION) ++PLBASE=@libdir@/@PL@-$(PLVERSION) + PKGDOC=$(PLBASE)/doc/packages + PLLIBS=@LIBS@ + PLARCH=@ARCH@ +diff -ur pl-5.6.18.orig/packages/ltx2htm/Makefile.in pl-5.6.18/packages/ltx2htm/Makefile.in +--- pl-5.6.18.orig/packages/ltx2htm/Makefile.in 2006-08-25 21:19:59.000000000 +1200 ++++ pl-5.6.18/packages/ltx2htm/Makefile.in 2006-09-01 20:22:55.000000000 +1200 +@@ -33,7 +33,7 @@ + INSTALL_DATA=@INSTALL_DATA@ + + # Don't change, this is also in latex2html.in! +-LIBDIR=$(prefix)/lib/latex2html ++LIBDIR=@libdir@/latex2html + + OBJ= tex.o psfile.o + LIB= latex2html.pl latex.cmd pl.pl pl.cmd xpce.pl xpce.cmd \ +diff -ur pl-5.6.18.orig/src/Makefile.in pl-5.6.18/src/Makefile.in +--- pl-5.6.18.orig/src/Makefile.in 2006-08-25 20:33:32.000000000 +1200 ++++ pl-5.6.18/src/Makefile.in 2006-09-01 20:15:51.000000000 +1200 +@@ -36,6 +36,7 @@ + srcdir=@srcdir@ + @VPATH@ @srcdir@ + bindir=@bindir@ ++libdir=@libdir@ + mandir=@mandir@ + mansec=1 + lmansec=3 +@@ -46,7 +47,7 @@ + PLVERSION=@PLVERSION@ + PL=@PL@@RT@ + PLV=@PL@@RT@-@PLVERSION@ +-PLBASE=$(prefix)/lib/@PL@@RT@-@PLVERSION@ ++PLBASE=$(libdir)/@PL@@RT@-@PLVERSION@ + BOOTFILE=@BOOTFILE@ + + CC=@CC@ +@@ -360,7 +361,7 @@ + $(INSTALL_DATA) libplimp.a $(DESTDIR)$(PLBASE)/lib/$(ARCH) + + idirs:: +- if [ ! -d $(DESTDIR)$(prefix)/lib ]; then $(MKDIR) $(DESTDIR)$(prefix)/lib; fi ++ if [ ! -d $(DESTDIR)$(libdir) ]; then $(MKDIR) $(DESTDIR)$(libdir); fi + if [ ! -d $(DESTDIR)$(PLBASE) ]; then $(MKDIR) $(DESTDIR)$(PLBASE); fi + for d in $(installdirs); do \ + if [ ! -d $(DESTDIR)$(PLBASE)/$$d ]; then \ +@@ -430,7 +431,7 @@ + # runtime-only environment installation + # + +-RTHOME= $(DESTDIR)$(prefix)/lib/$(PLV) ++RTHOME= $(DESTDIR)$(libdir)/$(PLV) + RTDIRS= $(RTHOME) $(RTHOME)/bin $(RTHOME)/lib $(RTHOME)/lib/$(ARCH) \ + $(RTHOME)/man $(RTHOME)/bin/$(ARCH) $(RTHOME)/include + +diff -ur pl-5.6.18.orig/src/configure pl-5.6.18/src/configure +--- pl-5.6.18.orig/src/configure 2006-08-07 20:21:19.000000000 +1200 ++++ pl-5.6.18/src/configure 2006-09-01 20:20:23.000000000 +1200 +@@ -2546,7 +2546,7 @@ + + + test "x$prefix" = xNONE && prefix=$ac_default_prefix +-PLBASE=$prefix/lib/$PL-$PLVERSION ++PLBASE=$libdir/$PL-$PLVERSION + + + for ac_prog in gmake make +diff -ur pl-5.6.18.orig/src/rc/Makefile.in pl-5.6.18/src/rc/Makefile.in +--- pl-5.6.18.orig/src/rc/Makefile.in 2006-07-11 20:22:28.000000000 +1200 ++++ pl-5.6.18/src/rc/Makefile.in 2006-09-01 20:11:08.000000000 +1200 +@@ -14,7 +14,7 @@ + srcdir=@srcdir@ + @VPATH@ @srcdir@ + bindir=$(exec_prefix)/bin +-PLBASE=$(prefix)/lib/@PL@-$(PLVERSION) ++PLBASE=@libdir@/@PL@-$(PLVERSION) + man_prefix=$(prefix)/man + mansec=1 + lmansec=3 diff --git a/dev-lang/swi-prolog/files/swi-prolog-portage-r1.patch b/dev-lang/swi-prolog/files/swi-prolog-portage-r1.patch new file mode 100644 index 000000000000..4ef650d7b194 --- /dev/null +++ b/dev-lang/swi-prolog/files/swi-prolog-portage-r1.patch @@ -0,0 +1,29 @@ +--- pl-5.6.19.orig/packages/Makefile.in 2006-08-30 20:35:12.000000000 +1200 ++++ pl-5.6.19/packages/Makefile.in 2006-09-12 06:46:42.000000000 +1200 +@@ -81,7 +81,7 @@ + + install:: + for p in $(PKG); do \ +- if [ -r $$p/Makefile ]; then ( cd $$p && $(MAKE) $@ ); fi; \ ++ if [ -r $$p/Makefile ]; then $(MAKE) -C $$p $@ || exit 1; fi; \ + done + @echo "*** Forcing update of library index ***" + rm -f $(DESTDIR)$(PLLIB)/INDEX.pl +@@ -120,7 +120,7 @@ + echo "**********************"; \ + echo "* Package $$p"; \ + echo "**********************"; \ +- ( cd $$p && $(CONFIG) ); \ ++ ( cd $$p && $(CONFIG) ) || exit 1; \ + fi; \ + done + +@@ -137,7 +137,7 @@ + + check:: + for p in $(PKG); do \ +- if [ -r $$p/Makefile ]; then ( cd $$p && $(MAKE) $@ ); fi; \ ++ if [ -r $$p/Makefile ]; then $(MAKE) -C $$p $@ || exit 1; fi; \ + done + + # test environment diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.19.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.19.ebuild new file mode 100644 index 000000000000..7a93763596b9 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.6.19.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.19.ebuild,v 1.1 2006/09/12 09:17:13 keri Exp $ + +inherit eutils + +DESCRIPTION="free, small, and standard compliant Prolog compiler" +HOMEPAGE="http://www.swi-prolog.org/" +SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~sparc ~x86" +IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X" + +DEPEND="!dev-lang/swi-prolog-lite + sys-libs/ncurses + odbc? ( dev-db/unixODBC ) + berkdb? ( sys-libs/db ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + ssl? ( dev-libs/openssl ) + java? ( >=virtual/jdk-1.4 ) + X? ( media-libs/jpeg + || ( ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-proto/xproto ) + virtual/x11 ) )" + +S="${WORKDIR}/pl-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s/man boot library/boot library/" src/Makefile.in + epatch "${FILESDIR}"/${PN}-portage-r1.patch + epatch "${FILESDIR}"/${PN}-CFLAGS-r2.patch + epatch "${FILESDIR}"/${PN}-PLBASE-r2.patch + epatch "${FILESDIR}"/${PN}-cppproxy-r1.patch + epatch "${FILESDIR}"/${PN}-jpl-LDPATH.patch + epatch "${FILESDIR}"/${PN}-ltx2htm.patch + epatch "${FILESDIR}"/${PN}-thread-tests.patch + epatch "${FILESDIR}"/${PN}-xpce-test.patch +} + +src_compile() { + einfo "Building SWI-Prolog compiler" + + local threadconf + if use java && ! use minimal || use threads ; then + threadconf="--enable-mt" + else + threadconf="--disable-mt" + fi + + cd "${S}"/src + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable !static shared) \ + --disable-custom-flags \ + || die "econf failed" + emake -j1 || die "emake failed" + + if ! use minimal ; then + einfo "Building SWI-Prolog additional packages" + + cd "${S}/packages" + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable !static shared) \ + --without-C-sicstus \ + --with-chr \ + --with-clib \ + --with-clpqr \ + --with-cpp \ + --with-cppproxy \ + $(use_with berkdb db) \ + --with-http \ + --without-jasmine \ + $(use_with java jpl) \ + $(use_with tetex ltx2htm) \ + --with-nlp \ + $(use_with odbc) \ + --with-semweb \ + --with-sgml \ + --with-sgml/RDF \ + $(use_with ssl) \ + --with-table \ + $(use_with X xpce) \ + || die "packages econf failed" + + emake -j1 || die "packages emake failed" + fi +} + +src_install() { + make -C src DESTDIR="${D}" install || die "install src failed" + + if ! use minimal ; then + make -C packages DESTDIR="${D}" install || die "install packages failed" + if use doc ; then + make -C packages DESTDIR="${D}" html-install || die "html-install failed" + make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed" + fi + fi + + dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION +} + +src_test() { + cd "${S}/src" + make check || die "make check failed. See above for details." + + if ! use minimal ; then + cd "${S}/packages" + make check || die "make check failed. See above for details." + fi +} |