From: Keri Harris Date: Fri, 26 Jan 2007 20:36:35 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eab98152473926567f213b2fe1864f1cd9c06189;p=gentoo.git Version bump. Package-Manager: portage-2.1.2-r4 --- diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 4ffd973cadcb..6e35762f47bc 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.57 2007/01/02 05:54:00 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.58 2007/01/26 20:36:35 keri Exp $ + +*swi-prolog-5.6.27 (26 Jan 2007) + + 26 Jan 2007; keri +files/swi-prolog-CFLAGS-r4.patch, + +swi-prolog-5.6.27.ebuild: + Version bump. 02 Jan 2007; keri +files/swi-prolog-semweb-bitmatrix.patch, swi-prolog-5.6.25.ebuild: diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index df66f55c49eb..bf45a3153e59 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -22,6 +22,10 @@ AUX swi-prolog-CFLAGS-r3.patch 10489 RMD160 77f5dd4c064959dcb37d166a8bc3e0faff64 MD5 b77625cf1d09c3c7531b042772776eeb files/swi-prolog-CFLAGS-r3.patch 10489 RMD160 77f5dd4c064959dcb37d166a8bc3e0faff64e7c5 files/swi-prolog-CFLAGS-r3.patch 10489 SHA256 ee0ea29de8262b6b4b127ab6c5640fe230c8f84884b52ca96db6c57eaa04f5ac files/swi-prolog-CFLAGS-r3.patch 10489 +AUX swi-prolog-CFLAGS-r4.patch 11256 RMD160 0955628db559e39b05a14e69a8f4d25baf99cd97 SHA1 16b641625690b2817eb0a725b29177fad4e5ce59 SHA256 d9a15576ae948b549042a0d81215ade83673ebc546cc9af00f2ab6a24484372b +MD5 0dd7e59c329dff54714a234c48cb7375 files/swi-prolog-CFLAGS-r4.patch 11256 +RMD160 0955628db559e39b05a14e69a8f4d25baf99cd97 files/swi-prolog-CFLAGS-r4.patch 11256 +SHA256 d9a15576ae948b549042a0d81215ade83673ebc546cc9af00f2ab6a24484372b files/swi-prolog-CFLAGS-r4.patch 11256 AUX swi-prolog-PLBASE-r1.patch 2612 RMD160 98a2aec985aa0bc38e5a76d460dd724ab199b442 SHA1 9fa1e995a30d93be737a5883779dba3f3128c006 SHA256 91b090d1c5ddd14f24671d43d0f021e47d1fd6652f1dd518f1889052c0e601d8 MD5 5735709fce96aead1b7ba6c23bd83ba6 files/swi-prolog-PLBASE-r1.patch 2612 RMD160 98a2aec985aa0bc38e5a76d460dd724ab199b442 files/swi-prolog-PLBASE-r1.patch 2612 @@ -163,6 +167,7 @@ DIST pl-5.6.22.tar.gz 11553934 RMD160 bd45af82adc55b66eacaf41c3a256a0db5baa609 S DIST pl-5.6.23.tar.gz 11547357 RMD160 51b52d8d6c8a2ddd7e245f4b7c3a1104bba999ce SHA1 8822763f50a78d8b006a74e7e0331e7d85509427 SHA256 45a16a49290401e69a47584e154eb2b0588f65a141de53b15c762cdf7afe7c9a DIST pl-5.6.24.tar.gz 11561664 RMD160 d26af2674bff916747bcc84a2f7df6119036c113 SHA1 85737b3b9ef29aeac97c3e334e6ed18df3426d35 SHA256 7fb4548d86595825b67cebb9a02e5009cc4e1f6851df8aba433bff4707fff85f DIST pl-5.6.25.tar.gz 11651158 RMD160 298bb9946089276ad3504c7b692ab5b43d81a7b2 SHA1 f0576e387d0dc719065a61d828838e8a01dc5f16 SHA256 fbe20123e62e630ec85487775fee391f94d51559cb5c24ccbc91e6760da7609e +DIST pl-5.6.27.tar.gz 11661684 RMD160 e180ad228946b36b2aaba561be25ba294da473af SHA1 7195af43f02f6569f7611cc5a6543fa00ae49c01 SHA256 cef264b0d022ca5c5f07547e5f11f1930cb9761fed7568b2a450978b3128d9a5 EBUILD swi-prolog-5.6.17-r1.ebuild 3743 RMD160 4fa0e1604760af2775a01e5a7a797e30f904d324 SHA1 9db4c70d9b1855de3234fa1ece83150ecb735674 SHA256 f3f4a2b29d29dc8ebf3ac2dd7cdf5edb6b2815cf7afd8ba7d68a05c2f751c47f MD5 c1ebf8f765ce99d7ae9f428a47eab81d swi-prolog-5.6.17-r1.ebuild 3743 RMD160 4fa0e1604760af2775a01e5a7a797e30f904d324 swi-prolog-5.6.17-r1.ebuild 3743 @@ -199,10 +204,14 @@ EBUILD swi-prolog-5.6.25.ebuild 3714 RMD160 97c0202040632fa2850aea4085cbf8e46bd0 MD5 00cdbefcaf73a47ceb69edb6239ae40d swi-prolog-5.6.25.ebuild 3714 RMD160 97c0202040632fa2850aea4085cbf8e46bd035f4 swi-prolog-5.6.25.ebuild 3714 SHA256 da40c3bc064bd55df62e06dfcc7f7cd98a140d882beecd03868de58cd80abd2f swi-prolog-5.6.25.ebuild 3714 -MISC ChangeLog 11253 RMD160 ae999520b6bb7e3e318546b259b275e06012e66f SHA1 bc4d0b37ae03da9640102bab7dea862db41cad8b SHA256 0e917cede313aaf558ca05c144c17cabb6ad4bc07870aca8b1a7c676ce42ce36 -MD5 b4f81a0d860d6642b8c749d297c0d488 ChangeLog 11253 -RMD160 ae999520b6bb7e3e318546b259b275e06012e66f ChangeLog 11253 -SHA256 0e917cede313aaf558ca05c144c17cabb6ad4bc07870aca8b1a7c676ce42ce36 ChangeLog 11253 +EBUILD swi-prolog-5.6.27.ebuild 3565 RMD160 ece972f6782c9acca0ce45843bd332786655c4e0 SHA1 221e6a0d31cb8d2136c68b9fff1813f5c5c81056 SHA256 3babbb6c7b7cd45e116897fef35e707d38225778cc88eb37fab26dd9ba4a2a61 +MD5 751bab744e5f54e4e8d4289bf355e632 swi-prolog-5.6.27.ebuild 3565 +RMD160 ece972f6782c9acca0ce45843bd332786655c4e0 swi-prolog-5.6.27.ebuild 3565 +SHA256 3babbb6c7b7cd45e116897fef35e707d38225778cc88eb37fab26dd9ba4a2a61 swi-prolog-5.6.27.ebuild 3565 +MISC ChangeLog 11406 RMD160 49029613aca5bdf51db4f5f2aba36f1b691b6ac8 SHA1 1c3937c403a6d8b2f6c4bcc13f3f1ccafadac1dd SHA256 f316a2328ac0bc809a2468f350eb7e737d9b736baef9829ef86ba294793167cf +MD5 48f30a482f9e3a7fa62573eda9cbcbfe ChangeLog 11406 +RMD160 49029613aca5bdf51db4f5f2aba36f1b691b6ac8 ChangeLog 11406 +SHA256 f316a2328ac0bc809a2468f350eb7e737d9b736baef9829ef86ba294793167cf ChangeLog 11406 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 @@ -234,3 +243,6 @@ SHA256 7a995ec1086f26d1aa65eba3f7b178a02101a74f69b705ee92ab613c70f92b07 files/di MD5 7401050ddff1a97dec98c6b40a1bc90c files/digest-swi-prolog-5.6.25 235 RMD160 6d02db4db3cffd78905aeed29c39749c3a5ca399 files/digest-swi-prolog-5.6.25 235 SHA256 0776caa3a1a58d0997f71f80ba673d3610b91786d6f033ca8d47c79dd8552674 files/digest-swi-prolog-5.6.25 235 +MD5 23b33ea0bcc7bd8928bac451af51dd0d files/digest-swi-prolog-5.6.27 235 +RMD160 88de36af49cc93b92d15bcd39c90b28026e93695 files/digest-swi-prolog-5.6.27 235 +SHA256 295cf40c44432d6c51f26c9e38dafb1247eac3a55a30aa6f478536f025db8212 files/digest-swi-prolog-5.6.27 235 diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.27 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.27 new file mode 100644 index 000000000000..b2cdf6681b5b --- /dev/null +++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.27 @@ -0,0 +1,3 @@ +MD5 af5e4797d3e3b8b1c086793d07b284fc pl-5.6.27.tar.gz 11661684 +RMD160 e180ad228946b36b2aaba561be25ba294da473af pl-5.6.27.tar.gz 11661684 +SHA256 cef264b0d022ca5c5f07547e5f11f1930cb9761fed7568b2a450978b3128d9a5 pl-5.6.27.tar.gz 11661684 diff --git a/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r4.patch b/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r4.patch new file mode 100644 index 000000000000..30ef88593a31 --- /dev/null +++ b/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r4.patch @@ -0,0 +1,354 @@ +diff -ur pl-5.6.27.orig/packages/clib/configure pl-5.6.27/packages/clib/configure +--- pl-5.6.27.orig/packages/clib/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/clib/configure 2007-01-27 08:40:04.000000000 +1300 +@@ -3117,7 +3117,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/clib/maildrop/rfc2045/configure pl-5.6.27/packages/clib/maildrop/rfc2045/configure +--- pl-5.6.27.orig/packages/clib/maildrop/rfc2045/configure 2005-07-25 02:37:57.000000000 +1200 ++++ pl-5.6.27/packages/clib/maildrop/rfc2045/configure 2007-01-27 08:41:14.000000000 +1300 +@@ -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.27.orig/packages/clib/maildrop/rfc822/configure pl-5.6.27/packages/clib/maildrop/rfc822/configure +--- pl-5.6.27.orig/packages/clib/maildrop/rfc822/configure 2005-07-25 02:37:57.000000000 +1200 ++++ pl-5.6.27/packages/clib/maildrop/rfc822/configure 2007-01-27 08:41:59.000000000 +1300 +@@ -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.27.orig/packages/cppproxy/configure pl-5.6.27/packages/cppproxy/configure +--- pl-5.6.27.orig/packages/cppproxy/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/cppproxy/configure 2007-01-27 08:43:26.000000000 +1300 +@@ -3111,7 +3111,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/db/configure pl-5.6.27/packages/db/configure +--- pl-5.6.27.orig/packages/db/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/db/configure 2007-01-27 08:47:59.000000000 +1300 +@@ -3140,13 +3140,13 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O + fi + +-CFLAGS="$CMFLAGS $CIFLAGS" ++#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.27.orig/packages/jpl/configure pl-5.6.27/packages/jpl/configure +--- pl-5.6.27.orig/packages/jpl/configure 2006-12-22 02:41:37.000000000 +1300 ++++ pl-5.6.27/packages/jpl/configure 2007-01-27 08:47:00.000000000 +1300 +@@ -3115,11 +3115,11 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#CFLAGS="$CMFLAGS" + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -cc-options,-fno-strict-aliasing" ++ COFLAGS="$CFLAGS -cc-options,-fno-strict-aliasing" + CWFLAGS="-Wall" + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/ltx2htm/configure pl-5.6.27/packages/ltx2htm/configure +--- pl-5.6.27.orig/packages/ltx2htm/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/ltx2htm/configure 2007-01-27 08:49:50.000000000 +1300 +@@ -1384,6 +1384,7 @@ + CC=$PLLD + LD=$PLLD + LDSOFLAGS=-shared ++CMFLAGS=-fpic + + SO="$PLSOEXT" + +@@ -3048,7 +3049,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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 +@@ -3640,7 +3641,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/nlp/configure pl-5.6.27/packages/nlp/configure +--- pl-5.6.27.orig/packages/nlp/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/nlp/configure 2007-01-27 08:50:53.000000000 +1300 +@@ -3111,7 +3111,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/odbc/configure pl-5.6.27/packages/odbc/configure +--- pl-5.6.27.orig/packages/odbc/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/odbc/configure 2007-01-27 08:52:04.000000000 +1300 +@@ -3147,7 +3147,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/semweb/configure pl-5.6.27/packages/semweb/configure +--- pl-5.6.27.orig/packages/semweb/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/semweb/configure 2007-01-27 08:52:41.000000000 +1300 +@@ -3145,7 +3145,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/sgml/configure pl-5.6.27/packages/sgml/configure +--- pl-5.6.27.orig/packages/sgml/configure 2007-01-25 03:17:48.000000000 +1300 ++++ pl-5.6.27/packages/sgml/configure 2007-01-27 08:53:34.000000000 +1300 +@@ -2394,7 +2394,7 @@ + SO="$PLSOEXT" + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O +@@ -3190,7 +3190,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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.27.orig/packages/ssl/configure pl-5.6.27/packages/ssl/configure +--- pl-5.6.27.orig/packages/ssl/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/ssl/configure 2007-01-27 08:54:24.000000000 +1300 +@@ -3110,7 +3110,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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 +@@ -3702,7 +3702,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/table/configure pl-5.6.27/packages/table/configure +--- pl-5.6.27.orig/packages/table/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/table/configure 2007-01-27 08:55:05.000000000 +1300 +@@ -3112,7 +3112,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/packages/xpce/src/configure pl-5.6.27/packages/xpce/src/configure +--- pl-5.6.27.orig/packages/xpce/src/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/xpce/src/configure 2007-01-27 08:56:24.000000000 +1300 +@@ -6522,13 +6522,13 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O + fi + +-CFLAGS="$CMFLAGS" ++#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.27.orig/packages/zlib/configure pl-5.6.27/packages/zlib/configure +--- pl-5.6.27.orig/packages/zlib/configure 2007-01-24 08:25:14.000000000 +1300 ++++ pl-5.6.27/packages/zlib/configure 2007-01-27 08:57:11.000000000 +1300 +@@ -3109,7 +3109,7 @@ + + fi + +-CFLAGS="$CMFLAGS" ++#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 +@@ -3701,7 +3701,7 @@ + + + if test ! -z "$GCC"; then +- COFLAGS="-O2 -fno-strict-aliasing" ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + CWFLAGS=${CWFLAGS--Wall} + else + COFLAGS=-O +diff -ur pl-5.6.27.orig/src/Makefile.in pl-5.6.27/src/Makefile.in +--- pl-5.6.27.orig/src/Makefile.in 2007-01-09 02:02:08.000000000 +1300 ++++ pl-5.6.27/src/Makefile.in 2007-01-27 09:03:18.000000000 +1300 +@@ -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.27.orig/src/configure pl-5.6.27/src/configure +--- pl-5.6.27.orig/src/configure 2007-01-24 22:30:36.000000000 +1300 ++++ pl-5.6.27/src/configure 2007-01-27 09:03:03.000000000 +1300 +@@ -3809,7 +3809,7 @@ + esac + fi + else +- COFLAGS=$CFLAGS ++ COFLAGS="$CFLAGS -fno-strict-aliasing" + fi + + +@@ -15607,7 +15607,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.27.orig/src/libtai/Makefile.in pl-5.6.27/src/libtai/Makefile.in +--- pl-5.6.27.orig/src/libtai/Makefile.in 2006-07-11 20:41:05.000000000 +1200 ++++ pl-5.6.27/src/libtai/Makefile.in 2007-01-27 09:03:46.000000000 +1300 +@@ -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.27.orig/src/rc/Makefile.in pl-5.6.27/src/rc/Makefile.in +--- pl-5.6.27.orig/src/rc/Makefile.in 2006-07-11 20:22:28.000000000 +1200 ++++ pl-5.6.27/src/rc/Makefile.in 2007-01-27 09:04:03.000000000 +1300 +@@ -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/swi-prolog-5.6.27.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.27.ebuild new file mode 100644 index 000000000000..becdc087d069 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.6.27.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2007 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.27.ebuild,v 1.1 2007/01/26 20:36:35 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 ~sparc ~x86" +IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads zlib X" + +DEPEND="!dev-lang/swi-prolog-lite + sys-libs/ncurses + zlib? ( sys-libs/zlib ) + 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 + dev-java/junit ) + 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 )" + +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-r4.patch + epatch "${FILESDIR}"/${PN}-PLBASE-r2.patch + epatch "${FILESDIR}"/${PN}-cppproxy-r1.patch + epatch "${FILESDIR}"/${PN}-jpl-PLARCH.patch + epatch "${FILESDIR}"/${PN}-jpl-LDPATH-r2.patch + epatch "${FILESDIR}"/${PN}-jpl-junit.patch + epatch "${FILESDIR}"/${PN}-jpl-check_java.patch + epatch "${FILESDIR}"/${PN}-ltx2htm.patch + epatch "${FILESDIR}"/${PN}-SGML_CATALOG_FILES.patch + epatch "${FILESDIR}"/${PN}-thread-tests.patch + epatch "${FILESDIR}"/${PN}-xpce-parallel-build.patch + epatch "${FILESDIR}"/${PN}-xpce-test-r1.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 || 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-pldoc \ + --with-plunit \ + --with-semweb \ + --with-sgml \ + --with-sgml/RDF \ + $(use_with ssl) \ + --with-table \ + $(use_with X xpce) \ + $(use_with zlib) \ + || die "packages econf failed" + + emake || 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 +}