diff options
author | Keri Harris <keri@gentoo.org> | 2006-09-16 01:09:09 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-09-16 01:09:09 +0000 |
commit | 48e78fd893ad4de82482e455e2993257a190dfcb (patch) | |
tree | 5d712041ed741279922de53df5b0de67ac33ee56 /dev-lang | |
parent | version bump as per bug #143337 (diff) | |
download | historical-48e78fd893ad4de82482e455e2993257a190dfcb.tar.gz historical-48e78fd893ad4de82482e455e2993257a190dfcb.tar.bz2 historical-48e78fd893ad4de82482e455e2993257a190dfcb.zip |
Version bump.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/mercury/ChangeLog | 12 | ||||
-rw-r--r-- | dev-lang/mercury/Manifest | 49 | ||||
-rw-r--r-- | dev-lang/mercury/files/digest-mercury-0.13.0 | 6 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-CFLAGS.patch | 31 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-LIBDIR.patch | 55 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-MAKEOPTS.patch | 11 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-bootstrap.patch | 60 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-docs.patch | 20 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-libgrades.patch | 251 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-portage.patch | 91 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.0-tests.patch | 120 | ||||
-rw-r--r-- | dev-lang/mercury/mercury-0.13.0.ebuild | 108 |
12 files changed, 809 insertions, 5 deletions
diff --git a/dev-lang/mercury/ChangeLog b/dev-lang/mercury/ChangeLog index cf02c0effc43..d59c5a7a97f0 100644 --- a/dev-lang/mercury/ChangeLog +++ b/dev-lang/mercury/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-lang/mercury # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.40 2006/09/11 09:51:58 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.41 2006/09/16 01:09:09 keri Exp $ + +*mercury-0.13.0 (16 Sep 2006) + + 16 Sep 2006; keri <keri@gentoo.org> +files/mercury-0.13.0-CFLAGS.patch, + +files/mercury-0.13.0-LIBDIR.patch, +files/mercury-0.13.0-MAKEOPTS.patch, + +files/mercury-0.13.0-bootstrap.patch, +files/mercury-0.13.0-docs.patch, + +files/mercury-0.13.0-libgrades.patch, + +files/mercury-0.13.0-portage.patch, +files/mercury-0.13.0-tests.patch, + +mercury-0.13.0.ebuild: + Version bump. The mercury-0.13.0 BOOTSTRAP_GRADE supports gcc4. 11 Sep 2006; keri <keri@gentoo.org> +files/mercury-0.12.2-MAKEOPTS.patch, +files/mercury-0.13.0_beta-MAKEOPTS.patch, mercury-0.12.2-r3.ebuild, diff --git a/dev-lang/mercury/Manifest b/dev-lang/mercury/Manifest index ebf02cf139e2..cb7f153cbcbb 100644 --- a/dev-lang/mercury/Manifest +++ b/dev-lang/mercury/Manifest @@ -42,6 +42,38 @@ AUX mercury-0.12.2-tests.patch 6200 RMD160 ae4f8df87b43dc4a33226a25ac182f425b699 MD5 b9a0bb5c9579fc1c4b5295dcfba38efd files/mercury-0.12.2-tests.patch 6200 RMD160 ae4f8df87b43dc4a33226a25ac182f425b6991a5 files/mercury-0.12.2-tests.patch 6200 SHA256 ac8b3d69f14b0b5c69d3bdaa4ef0a4dd5320ea5077967d0cccc7090fcdfd1501 files/mercury-0.12.2-tests.patch 6200 +AUX mercury-0.13.0-CFLAGS.patch 1323 RMD160 7de97579d81eaad521232981d32f0e9f2113a03f SHA1 0bb34affd44043dd6df58aadaa17e85204468fbc SHA256 7be5d4a8563fc17ea06fc064814d5963a61b2ff9978565270a1f67f06185e383 +MD5 cdcf65c651f63996b24a247f1566a684 files/mercury-0.13.0-CFLAGS.patch 1323 +RMD160 7de97579d81eaad521232981d32f0e9f2113a03f files/mercury-0.13.0-CFLAGS.patch 1323 +SHA256 7be5d4a8563fc17ea06fc064814d5963a61b2ff9978565270a1f67f06185e383 files/mercury-0.13.0-CFLAGS.patch 1323 +AUX mercury-0.13.0-LIBDIR.patch 2436 RMD160 f195f31663239ef050890f2405ced4e920384f67 SHA1 e8c37195a812543c9044583118dbb598deeff961 SHA256 fcd7d5065ca6fbf2ce8e566c44c48c13941c6c0c3f196d6d9d92f21ff06e53d4 +MD5 520754764f22b8c6e2d79d5688663047 files/mercury-0.13.0-LIBDIR.patch 2436 +RMD160 f195f31663239ef050890f2405ced4e920384f67 files/mercury-0.13.0-LIBDIR.patch 2436 +SHA256 fcd7d5065ca6fbf2ce8e566c44c48c13941c6c0c3f196d6d9d92f21ff06e53d4 files/mercury-0.13.0-LIBDIR.patch 2436 +AUX mercury-0.13.0-MAKEOPTS.patch 416 RMD160 7174fdab5ef7693d410f91a6ec61e83eb1ce1fa5 SHA1 c2c4fe6c7cfc5966917013d3826344973a2396e9 SHA256 d3a5ff781690ebdc803551c9a111c1c9afd6284db37972e413198abd3678fbba +MD5 d4c4edd8bfddc0a098db9412a5b0b640 files/mercury-0.13.0-MAKEOPTS.patch 416 +RMD160 7174fdab5ef7693d410f91a6ec61e83eb1ce1fa5 files/mercury-0.13.0-MAKEOPTS.patch 416 +SHA256 d3a5ff781690ebdc803551c9a111c1c9afd6284db37972e413198abd3678fbba files/mercury-0.13.0-MAKEOPTS.patch 416 +AUX mercury-0.13.0-bootstrap.patch 2277 RMD160 2983cbd69ef84a8a6a12e88755971b8c5616fe09 SHA1 e6562b9dc32ec661be48c9b78d48133568a3a864 SHA256 464ec654c11f95f80bd5afda0a3272240ff65b75aaebc220e108a701c6aba5e4 +MD5 304a52a90c4dada7ab8956edfeca06db files/mercury-0.13.0-bootstrap.patch 2277 +RMD160 2983cbd69ef84a8a6a12e88755971b8c5616fe09 files/mercury-0.13.0-bootstrap.patch 2277 +SHA256 464ec654c11f95f80bd5afda0a3272240ff65b75aaebc220e108a701c6aba5e4 files/mercury-0.13.0-bootstrap.patch 2277 +AUX mercury-0.13.0-docs.patch 796 RMD160 f65bd4098e1a3c501f6adaf0da93377f6a8361f4 SHA1 ec8d4e4a0f014d7371859380fa560d330ad82069 SHA256 5ec2c671e14a07f087ae2c997b2ca5a7c2b176ee46685d86f8e995535f76625c +MD5 07927ea891d5688ff041bc2c2bc82d2e files/mercury-0.13.0-docs.patch 796 +RMD160 f65bd4098e1a3c501f6adaf0da93377f6a8361f4 files/mercury-0.13.0-docs.patch 796 +SHA256 5ec2c671e14a07f087ae2c997b2ca5a7c2b176ee46685d86f8e995535f76625c files/mercury-0.13.0-docs.patch 796 +AUX mercury-0.13.0-libgrades.patch 9414 RMD160 aab042c7eb177d4d4c923db79bbff4fb520a2d3a SHA1 fc52cb8de79d7eb32efd1c0c119374d2e617cc7f SHA256 89d40980a5ca8373e210472bd06b3bbfefc926b3cb4b5643e32a7125f7daea66 +MD5 ddf843b0624b07d2c618f3b7c428c8f4 files/mercury-0.13.0-libgrades.patch 9414 +RMD160 aab042c7eb177d4d4c923db79bbff4fb520a2d3a files/mercury-0.13.0-libgrades.patch 9414 +SHA256 89d40980a5ca8373e210472bd06b3bbfefc926b3cb4b5643e32a7125f7daea66 files/mercury-0.13.0-libgrades.patch 9414 +AUX mercury-0.13.0-portage.patch 2891 RMD160 3a52b5c9d5940eee39be0a0254969aac39675d41 SHA1 7ea86360ddfdd869640980fcfae78f933becc02e SHA256 5c33ae312869cf0fb8f0bc7c846bcf2abff5f5a1c574bc0b42cd050578daca0c +MD5 c50f24a88e741f61d40a29cfa974607f files/mercury-0.13.0-portage.patch 2891 +RMD160 3a52b5c9d5940eee39be0a0254969aac39675d41 files/mercury-0.13.0-portage.patch 2891 +SHA256 5c33ae312869cf0fb8f0bc7c846bcf2abff5f5a1c574bc0b42cd050578daca0c files/mercury-0.13.0-portage.patch 2891 +AUX mercury-0.13.0-tests.patch 5622 RMD160 12476b3fe37640b965e44e1cc3b3b586a2d60cc4 SHA1 9914f87b6fe6a4e2760f7d02336080564900e481 SHA256 151095a7a4b2c3f46960ae6a129733533fee7d04958660eac51dadc0eaace1a4 +MD5 0e25ada5c94c4b208c7608e3f59e3f5f files/mercury-0.13.0-tests.patch 5622 +RMD160 12476b3fe37640b965e44e1cc3b3b586a2d60cc4 files/mercury-0.13.0-tests.patch 5622 +SHA256 151095a7a4b2c3f46960ae6a129733533fee7d04958660eac51dadc0eaace1a4 files/mercury-0.13.0-tests.patch 5622 AUX mercury-0.13.0_beta-CFLAGS.patch 1387 RMD160 50beda679059cfa2f1c4c0868c34d7fcad147336 SHA1 ccde9305e9ee1b1705ffc96de36fbb766dc1f12e SHA256 aa3e882f2590d2962b2421495f92d1ae24030799e829f72caf5a55b17fcdea58 MD5 978c7b688fa22fbf08bbd85f052cc603 files/mercury-0.13.0_beta-CFLAGS.patch 1387 RMD160 50beda679059cfa2f1c4c0868c34d7fcad147336 files/mercury-0.13.0_beta-CFLAGS.patch 1387 @@ -76,8 +108,10 @@ RMD160 de647925736743ba92a53406a08755bc730dc1ce files/mercury-0.13.0_beta-tests. SHA256 f8f18efe6c92d23859c11f6944fcbead3b72b7967c019705f7be2d8d9d616f99 files/mercury-0.13.0_beta-tests.patch 3337 DIST mercury-compiler-0.12.2.tar.gz 15074997 RMD160 227a3e1796d96ad77324d9f1d39efd6be7fce80e SHA1 96b7a878370bb256da28c8ffa1c4b0a4bc3711d6 SHA256 7fa1df8030cdc3d4dc848d102ba64bf23c12004461c985290622b81753b89572 DIST mercury-compiler-0.13.0-beta-2006-09-07-unstable.tar.gz 15857850 RMD160 9a2670470a44b72c3211441432db76668b3257b7 SHA1 2dbd9605b48f740d1d9d6221907442d8c5049734 SHA256 8d15feb50d65f4f36d90b2302c39a3b0586ddcc54a7e8f323596769cc1608bf2 +DIST mercury-compiler-0.13.0.tar.gz 15861463 RMD160 4fa5f45d6c7496679bc1e957bb45541020244d5b SHA1 7a9362225e1b51d7d1b342c39203ad0ef1b9f952 SHA256 0edf3855dab94f4562d972a3a401dff2f722a2b20b1617b6c4ce9ba68e576342 DIST mercury-tests-0.12.2.tar.gz 897454 RMD160 e7cf515b0d56aff5432c5ec3e535faa907ce2955 SHA1 1f80ff38f141b975fe472c2aee48d44b8e187c08 SHA256 6d3fd92d11ce2a9ce99cfa35990027557d1c70f00a3417639523b6e27f746280 DIST mercury-tests-0.13.0-beta-2006-09-07-unstable.tar.gz 984222 RMD160 2de938d2935f84dd803d61d43dcd67e55d61c6c2 SHA1 b2d0a22c08265626831a1e562095a7000701a866 SHA256 cfc6efc9006e6be6e2355b477c81d91b47fea961396bdb5cf9342dd8a32be2b6 +DIST mercury-tests-0.13.0.tar.gz 984910 RMD160 1b90b941488b9da57ff27ab1506b902b5fa5e170 SHA1 df5fa6725bb37fdba8085a441687bf056111e4e7 SHA256 227561407d63d177e6bfdf08d58481a9dcf6228d225ca2b67643c1af16cedc08 EBUILD mercury-0.12.2-r1.ebuild 2004 RMD160 df7e09f85f3748560f9282b667c76b87b05948d1 SHA1 394830e247c97b6893bff8da65346d041298193d SHA256 9aae052739461b696b10863110da7eab47406c6a629ce36d8792f258af0d2eeb MD5 8ac12895463559881728628ff9ce81cf mercury-0.12.2-r1.ebuild 2004 RMD160 df7e09f85f3748560f9282b667c76b87b05948d1 mercury-0.12.2-r1.ebuild 2004 @@ -94,14 +128,18 @@ EBUILD mercury-0.12.2.ebuild 1423 RMD160 9e5613b7a510ad5ba00c7ff079dffc3b788fb75 MD5 6f79d42347ca00bfe02253c965d88574 mercury-0.12.2.ebuild 1423 RMD160 9e5613b7a510ad5ba00c7ff079dffc3b788fb755 mercury-0.12.2.ebuild 1423 SHA256 89e50f4a3ca1267ba3b9715b42015c3be397a85068d7588c121473d3de2b78c8 mercury-0.12.2.ebuild 1423 +EBUILD mercury-0.13.0.ebuild 2948 RMD160 a1e8284e5631df2601845ee8966cb228fc1dc4fe SHA1 a7e6b64504c0078f508cce14f4ad03841d7615fc SHA256 dac4b76556b373e6d9beb3f8e20f678e972503f1f9bc606e136d523022da849f +MD5 752631c0a497b9097f1090fbaf57c0c8 mercury-0.13.0.ebuild 2948 +RMD160 a1e8284e5631df2601845ee8966cb228fc1dc4fe mercury-0.13.0.ebuild 2948 +SHA256 dac4b76556b373e6d9beb3f8e20f678e972503f1f9bc606e136d523022da849f mercury-0.13.0.ebuild 2948 EBUILD mercury-0.13.0_beta20060907.ebuild 3048 RMD160 5a8c72dcd30837ad978bb1d1257be7bcd90f9a88 SHA1 c45c5edea4beac76027c153bafcd774f6242291d SHA256 86208f1dc63b95bb8959ca1ead8a07c92360e7bf6a4e4202f781e351b01c8273 MD5 76e04ddc308370c24262486d9f62c71e mercury-0.13.0_beta20060907.ebuild 3048 RMD160 5a8c72dcd30837ad978bb1d1257be7bcd90f9a88 mercury-0.13.0_beta20060907.ebuild 3048 SHA256 86208f1dc63b95bb8959ca1ead8a07c92360e7bf6a4e4202f781e351b01c8273 mercury-0.13.0_beta20060907.ebuild 3048 -MISC ChangeLog 7476 RMD160 5a34ec6c7a912d511cb544759b7e13ed0b1babd5 SHA1 fb6005ce0a1c1393e0c1098efab4ba4702b63c7a SHA256 1f4f3557c94fb0e2d978447bd25c743bf3eead24f97e67023db87b56eab4fdf4 -MD5 1555b4e7c2bb31f050f31a3eb78c5c01 ChangeLog 7476 -RMD160 5a34ec6c7a912d511cb544759b7e13ed0b1babd5 ChangeLog 7476 -SHA256 1f4f3557c94fb0e2d978447bd25c743bf3eead24f97e67023db87b56eab4fdf4 ChangeLog 7476 +MISC ChangeLog 7940 RMD160 89802b76f13b0e82ac69c6253fc62cf6855dc449 SHA1 f3180899a07939d3969c3cdc26fdd9e14e9423d5 SHA256 8f2dde74f2dbee6f09a690b990e8404d154d7131ff2e0742c2201e4bcdbd8625 +MD5 67c71dbcd0c994327472699f5eaf074e ChangeLog 7940 +RMD160 89802b76f13b0e82ac69c6253fc62cf6855dc449 ChangeLog 7940 +SHA256 8f2dde74f2dbee6f09a690b990e8404d154d7131ff2e0742c2201e4bcdbd8625 ChangeLog 7940 MISC metadata.xml 247 RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 SHA1 7b705a8a3368abab6ad31ea2fcb5e5db865d92b1 SHA256 2768d0688d443184194068497dcafb2e5d67521980cb46b7e8efc07d3900bcaa MD5 6fca20d17d6d55a28537204aa9bb626f metadata.xml 247 RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 metadata.xml 247 @@ -118,6 +156,9 @@ SHA256 76206eb085f179635a04f8ad1b2b53b1e4a2b4e1dccab1d25bac557e609f7df2 files/di MD5 0d30492cc04519cf02a3453c452710c5 files/digest-mercury-0.12.2-r3 539 RMD160 6be0bed956edd23408af2bcf449cd393419f64c0 files/digest-mercury-0.12.2-r3 539 SHA256 76206eb085f179635a04f8ad1b2b53b1e4a2b4e1dccab1d25bac557e609f7df2 files/digest-mercury-0.12.2-r3 539 +MD5 abd1c2293e5003b768dcb1eb1887b169 files/digest-mercury-0.13.0 539 +RMD160 236f26377c7b9be80a71be194ffc81a5e17e951c files/digest-mercury-0.13.0 539 +SHA256 d1aea703e42770341422638e334bea55c6ec6e502d4bd15ef3667d675a903a06 files/digest-mercury-0.13.0 539 MD5 56f68238cf771fbdcd3cfa656814b0c0 files/digest-mercury-0.13.0_beta20060907 689 RMD160 e85686f4d8e772bcd5cc995bdaed42e2f8d5a58c files/digest-mercury-0.13.0_beta20060907 689 SHA256 78656c61b0503c95f38812a5a1a0e39ad70e53ca600bc751f2d8caf402b9cc54 files/digest-mercury-0.13.0_beta20060907 689 diff --git a/dev-lang/mercury/files/digest-mercury-0.13.0 b/dev-lang/mercury/files/digest-mercury-0.13.0 new file mode 100644 index 000000000000..5009a8bfe67c --- /dev/null +++ b/dev-lang/mercury/files/digest-mercury-0.13.0 @@ -0,0 +1,6 @@ +MD5 e2e08bdddce39bc8eccd2a2c0cbf9ad5 mercury-compiler-0.13.0.tar.gz 15861463 +RMD160 4fa5f45d6c7496679bc1e957bb45541020244d5b mercury-compiler-0.13.0.tar.gz 15861463 +SHA256 0edf3855dab94f4562d972a3a401dff2f722a2b20b1617b6c4ce9ba68e576342 mercury-compiler-0.13.0.tar.gz 15861463 +MD5 03e9490b1261c74542cb4178510cce4b mercury-tests-0.13.0.tar.gz 984910 +RMD160 1b90b941488b9da57ff27ab1506b902b5fa5e170 mercury-tests-0.13.0.tar.gz 984910 +SHA256 227561407d63d177e6bfdf08d58481a9dcf6228d225ca2b67643c1af16cedc08 mercury-tests-0.13.0.tar.gz 984910 diff --git a/dev-lang/mercury/files/mercury-0.13.0-CFLAGS.patch b/dev-lang/mercury/files/mercury-0.13.0-CFLAGS.patch new file mode 100644 index 000000000000..0dfc2db8ecc2 --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-CFLAGS.patch @@ -0,0 +1,31 @@ +--- mercury-compiler-0.13.0.orig/scripts/mgnuc.in 2006-08-03 00:56:05.000000000 +1200 ++++ mercury-compiler-0.13.0/scripts/mgnuc.in 2006-09-16 10:56:07.000000000 +1200 +@@ -53,7 +53,7 @@ + # -Wenum-clash is for C++ only + # -Wunused causes various spurious warnings + +- OPT_OPTS="-O2 $CFLAGS_FOR_NO_STRICT_ALIASING -fomit-frame-pointer" ++ OPT_OPTS="@CFLAGS_FOR_OPT@" + DEBUG_OPT="-g" + COMPILER=gcc + ;; +--- mercury-compiler-0.13.0.orig/configure 2006-09-14 16:06:21.000000000 +1200 ++++ mercury-compiler-0.13.0/configure 2006-09-16 10:58:44.000000000 +1200 +@@ -3740,7 +3740,7 @@ + # the `-lc' and `-lg' libraries have different contents; specifically, + # only the latter contains memalign(). We need to make sure that the + # test for memalign() doesn't use `-g', since `ml' doesn't use `-g'. +-CFLAGS="-O" ++# CFLAGS="-O" + + # we also need to add the appropriate `-I' options so that the test programs + # can #include various Mercury runtime headers. +@@ -10038,7 +10038,7 @@ + # enable, and why, see scripts/mgnuc.in. + CFLAGS_FOR_WARNINGS="-Wall -Wwrite-strings -Wshadow -Wmissing-prototypes -Wno-unused -Wno-uninitialized -Wstrict-prototypes" + +- CFLAGS_FOR_OPT="-O2 -fomit-frame-pointer" ++ CFLAGS_FOR_OPT="$CFLAGS" + CFLAGS_FOR_DEBUG="-g" + MCFLAGS_FOR_CC= + ;; diff --git a/dev-lang/mercury/files/mercury-0.13.0-LIBDIR.patch b/dev-lang/mercury/files/mercury-0.13.0-LIBDIR.patch new file mode 100644 index 000000000000..00ba68f096dc --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-LIBDIR.patch @@ -0,0 +1,55 @@ +--- mercury-compiler-0.13.0.orig/configure 2006-09-14 16:06:21.000000000 +1200 ++++ mercury-compiler-0.13.0/configure 2006-09-16 11:01:27.000000000 +1200 +@@ -1609,7 +1609,7 @@ + + + PREFIX="`$CYGPATH $PREFIX`" +-LIBDIR="`$CYGPATH $PREFIX/lib/mercury`" ++LIBDIR="`$CYGPATH $PREFIX/lib/mercury-$PACKAGE_VERSION`" + NONSHARED_LIB_DIR=${MERCURY_NONSHARED_LIB_DIR=$PREFIX/lib/nonshared} + + +--- mercury-compiler-0.13.0.orig/scripts/Mmake.vars.in 2006-05-23 18:46:54.000000000 +1200 ++++ mercury-compiler-0.13.0/scripts/Mmake.vars.in 2006-09-16 11:06:12.000000000 +1200 +@@ -717,18 +717,18 @@ + INSTALL_PREFIX = @prefix@ + FINAL_INSTALL_PREFIX = @prefix@ + INSTALL_BINDIR = $(INSTALL_PREFIX)/bin +-INSTALL_LIBDIR = $(INSTALL_PREFIX)/lib/mercury +-FINAL_INSTALL_LIBDIR = $(FINAL_INSTALL_PREFIX)/lib/mercury +-INSTALL_JAVA_LIBRARY_DIR= $(INSTALL_PREFIX)/lib/mercury/lib/java ++INSTALL_LIBDIR = $(INSTALL_PREFIX)/lib/mercury-@PACKAGE_VERSION@ ++FINAL_INSTALL_LIBDIR = $(FINAL_INSTALL_PREFIX)/lib/mercury-@PACKAGE_VERSION@ ++INSTALL_JAVA_LIBRARY_DIR= $(INSTALL_LIBDIR)/lib/java + INSTALL_INFO_DIR = $(INSTALL_PREFIX)/info +-INSTALL_DVI_DIR = $(INSTALL_PREFIX)/lib/mercury/doc +-INSTALL_TEXT_DIR = $(INSTALL_PREFIX)/lib/mercury/doc +-INSTALL_PS_DIR = $(INSTALL_PREFIX)/lib/mercury/doc +-INSTALL_PDF_DIR = $(INSTALL_PREFIX)/lib/mercury/doc ++INSTALL_DVI_DIR = $(INSTALL_LIBDIR)/doc ++INSTALL_TEXT_DIR = $(INSTALL_LIBDIR)/doc ++INSTALL_PS_DIR = $(INSTALL_LIBDIR)/doc ++INSTALL_PDF_DIR = $(INSTALL_LIBDIR)/doc + INSTALL_MAN_DIR = $(INSTALL_PREFIX)/man +-INSTALL_HTML_DIR = $(INSTALL_PREFIX)/lib/mercury/html +-INSTALL_MDB_DOC_DIR = $(INSTALL_PREFIX)/lib/mercury/mdb +-INSTALL_ELISP_DIR = $(INSTALL_PREFIX)/lib/mercury/elisp ++INSTALL_HTML_DIR = $(INSTALL_LIBDIR)/html ++INSTALL_MDB_DOC_DIR = $(INSTALL_LIBDIR)/mdb ++INSTALL_ELISP_DIR = $(INSTALL_LIBDIR)/elisp + INSTALL_CGI_DIR = @CGIDIR@ + + # You should not need to override anything below here +--- mercury-compiler-0.13.0.orig/scripts/mercury_config.in 2005-10-27 14:48:24.000000000 +1300 ++++ mercury-compiler-0.13.0/scripts/mercury_config.in 2006-09-16 11:16:27.000000000 +1200 +@@ -90,8 +90,8 @@ + shift + done + +-input_libdir="$input_prefix/lib/mercury" +-output_libdir="$output_prefix/lib/mercury" ++input_libdir="$input_prefix/lib/mercury-@PACKAGE_VERSION@" ++output_libdir="$output_prefix/lib/mercury-@PACKAGE_VERSION@" + + # mercury_config regenerates itself, so we can't just execute it in place. + case $recursive in diff --git a/dev-lang/mercury/files/mercury-0.13.0-MAKEOPTS.patch b/dev-lang/mercury/files/mercury-0.13.0-MAKEOPTS.patch new file mode 100644 index 000000000000..ac3c8b79d949 --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-MAKEOPTS.patch @@ -0,0 +1,11 @@ +--- mercury-compiler-0.13.0.orig/Makefile 2005-08-22 15:38:34.000000000 +1200 ++++ mercury-compiler-0.13.0/Makefile 2006-09-16 11:24:58.000000000 +1200 +@@ -15,7 +15,7 @@ + # + #-----------------------------------------------------------------------------# + +- ++PARALLEL= $(MAKEOPTS) + SHELL= /bin/sh + MMAKE= MMAKE_DIR=`pwd`/scripts scripts/mmake + MMAKE_SUBDIR= MMAKE_DIR=`pwd`/../scripts ../scripts/mmake $(PARALLEL) diff --git a/dev-lang/mercury/files/mercury-0.13.0-bootstrap.patch b/dev-lang/mercury/files/mercury-0.13.0-bootstrap.patch new file mode 100644 index 000000000000..17ce514d3bd2 --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-bootstrap.patch @@ -0,0 +1,60 @@ +--- mercury-compiler-0.13.0.orig/configure 2006-09-14 16:06:21.000000000 +1200 ++++ mercury-compiler-0.13.0/configure 2006-09-16 11:34:59.000000000 +1200 +@@ -8977,34 +8977,34 @@ + + if test "$BEST_GRADE_FOR_COMPILER" != "$BOOTSTRAP_GRADE"; then + if test "$BOOTSTRAP_MC" = ""; then +- GRADE="$BOOTSTRAP_GRADE" +- { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed +-**** cannot use grade \`$BEST_GRADE_FOR_COMPILER' +-**** using grade \`$GRADE' to compile the compiler +-**** after installation is complete you should reinstall +-**** from scratch so you can use the more efficient +-**** grade \`$BEST_GRADE_FOR_COMPILER'." >&5 +-echo "$as_me: WARNING: Mercury compiler not yet installed +-**** cannot use grade \`$BEST_GRADE_FOR_COMPILER' +-**** using grade \`$GRADE' to compile the compiler +-**** after installation is complete you should reinstall +-**** from scratch so you can use the more efficient +-**** grade \`$BEST_GRADE_FOR_COMPILER'." >&2;} +- ++ if test "$BOOTSTRAP_STAGE" = "1"; then ++ GRADE="$BOOTSTRAP_GRADE" ++ else ++ GRADE=$BEST_GRADE_FOR_COMPILER ++ find library compiler browser mdbcomp analysis \ ++ profiler deep_profiler \ ++ -name \*.c -o -name \*.c_date | \ ++ xargs rm > /dev/null 2>&1 ++ find -name \*.o -o -name \*.pic_o -o \ ++ -name \*.a -o -name \*.so | \ ++ xargs rm > /dev/null 2>&1 +++ rm -f compiler/mercury_compile profiler/mercury_profile ++ fi + else +- GRADE=$BEST_GRADE_FOR_COMPILER +- echo "using grade \`$GRADE' to compile the compiler +- compiler and library will be rebuilt with new grade +- installation may take a long time" 1>&6 +- find library compiler browser mdbcomp analysis \ +- profiler deep_profiler \ +- -name \*.c -o -name \*.c_date | \ +- xargs rm > /dev/null 2>&1 ++ if test "$BOOTSTRAP_STAGE" = "1"; then ++ GRADE=$BEST_GRADE_FOR_COMPILER ++ find library compiler browser mdbcomp analysis \ ++ profiler deep_profiler \ ++ -name \*.c -o -name \*.c_date | \ ++ xargs rm > /dev/null 2>&1 ++ else ++ GRADE=$BEST_GRADE_FOR_COMPILER ++ fi + fi + else + GRADE=$BEST_GRADE_FOR_COMPILER +- echo "using grade \`$GRADE' to compile the compiler" 1>&6 + fi ++echo "using grade \`$GRADE' to compile the compiler" 1>&6 + + + #-----------------------------------------------------------------------------# diff --git a/dev-lang/mercury/files/mercury-0.13.0-docs.patch b/dev-lang/mercury/files/mercury-0.13.0-docs.patch new file mode 100644 index 000000000000..b1908ab32afc --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-docs.patch @@ -0,0 +1,20 @@ +--- mercury-compiler-0.13.0.orig/doc/Mmakefile 2006-03-29 13:35:18.000000000 +1200 ++++ mercury-compiler-0.13.0/doc/Mmakefile 2006-09-16 12:34:15.000000000 +1200 +@@ -120,7 +120,7 @@ + # formatted versions of the man pages. + # But it might make sense to add them. + .PHONY: all +-all: $(INFOPAGES) $(DVI) $(HTML) manpages $(MDB_DOC) ++all: $(INFOPAGES) $(HTML) manpages $(MDB_DOC) + #all: ps pdf text formatted_manpages + + #-----------------------------------------------------------------------------# +@@ -331,7 +331,7 @@ + # versions of the documentation. If they are added they should + # be installed here. + .PHONY: install +-install: install_info install_html install_dvi install_manpages \ ++install: install_info install_html install_manpages \ + install_mdb_doc + # install_text install_ps + diff --git a/dev-lang/mercury/files/mercury-0.13.0-libgrades.patch b/dev-lang/mercury/files/mercury-0.13.0-libgrades.patch new file mode 100644 index 000000000000..fe027c4d083d --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-libgrades.patch @@ -0,0 +1,251 @@ +--- mercury-compiler-0.13.0.orig/Mmakefile 2005-08-12 03:56:57.000000000 +1200 ++++ mercury-compiler-0.13.0/Mmakefile 2006-09-16 11:58:30.000000000 +1200 +@@ -281,6 +281,54 @@ + mdbcomp browser trace + +cd deep_profiler && $(SUBDIR_MMAKE) + ++libgrades: ++ +for grade in x $(LIBGRADES); do \ ++ if [ "$$grade" != "x" -a "$$grade" != "$(GRADE)" ]; then \ ++ gc_grade=`scripts/ml --grade $$grade --print-gc-grade`; \ ++ TWS=`/bin/pwd`/libgrades/$$grade; \ ++ /bin/rm -fr libgrades/$$grade; \ ++ mkdir -p libgrades/$$grade; \ ++ ( scripts/prepare_tmp_dir_fixed_part $$grade && \ ++ scripts/prepare_tmp_dir_grade_part $$grade ) && \ ++ ( cd libgrades/$$grade/boehm_gc && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade \ ++ WORKSPACE=$$TWS GC_GRADE=$$gc_grade \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ ( cd libgrades/$$grade/runtime && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ ( cd libgrades/$$grade/library && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ depend && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ ( cd libgrades/$$grade/mdbcomp && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ depend && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ ( cd libgrades/$$grade/browser && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ depend && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ ( cd libgrades/$$grade/trace && \ ++ $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ ++ MERCURY_COMPILER=$$TWS/compiler/mercury_compile \ ++ libgrade ) && \ ++ true || \ ++ exit 1; \ ++ fi; \ ++ done ++ + #-----------------------------------------------------------------------------# + + .PHONY: tags +@@ -483,28 +531,13 @@ + @echo + @echo "-- Installation complete." + @echo +- @echo "-- Don't forget to add $(INSTALL_BINDIR) to your PATH," +- @echo "-- $(INSTALL_MAN_DIR) to your MANPATH," +- @echo "-- and $(INSTALL_INFO_DIR) to your INFOPATH," +- @if test $(ENABLE_DEEP_PROFILER) != yes || \ +- cmp -s deep_profiler/mdprof_cgi \ +- $(INSTALL_CGI_DIR)/mdprof_cgi; \ +- then true ; else \ +- echo "-- to copy deep_profiler/mdprof_cgi" \ +- "to $(INSTALL_CGI_DIR),"; \ +- fi +- @echo "-- and to add the following lines to the \`.emacs' file" +- @echo "-- in your home directory:" +- @echo " (setq load-path (cons (expand-file-name " +- @echo " \"$(INSTALL_ELISP_DIR)\") load-path))" +- @echo " (autoload 'mdb \"gud\" \"Invoke the Mercury debugger\" t)" + + .PHONY: install_main + install_main: all \ + install_scripts install_util install_runtime install_boehm_gc \ + install_library install_mdbcomp install_browser install_trace \ + install_compiler install_slice install_profiler \ +- install_deep_profiler install_doc install_config ++ install_deep_profiler install_doc + + .PHONY: install_scripts + install_scripts: scripts +@@ -569,7 +602,7 @@ + # .trans_opt .trans_opt_date .d .mh .mih .c_date .c .o .pic_o + + .PHONY: install_grades +-install_grades: all ++install_grades: all libgrades + # + # Use the newly installed compiler to build the libraries + # in various different grades. We need to override MC=mmc +@@ -577,44 +610,33 @@ + # runs the newly installed compiler, rather than using the + # bootstrap compiler. + # +- /bin/rm -fr tmp_dir +- scripts/prepare_tmp_dir_fixed_part + +for grade in x $(LIBGRADES); do \ + if [ "$$grade" != "x" -a "$$grade" != "$(GRADE)" ]; then \ + gc_grade=`scripts/ml --grade $$grade --print-gc-grade`; \ +- TWS=`/bin/pwd`/tmp_dir; \ +- scripts/prepare_tmp_dir_grade_part; \ +- ( cd tmp_dir/boehm_gc && \ ++ TWS=`/bin/pwd`/libgrades/$$grade; \ ++ ( cd libgrades/$$grade/boehm_gc && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade \ + WORKSPACE=$$TWS GC_GRADE=$$gc_grade \ + install_lib ) && \ +- ( cd tmp_dir/runtime && \ ++ ( cd libgrades/$$grade/runtime && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ + install_lib ) && \ +- ( cd tmp_dir/library && \ +- $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ +- depend && \ ++ ( cd libgrades/$$grade/library && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ + install_library ) && \ +- ( cd tmp_dir/mdbcomp && \ +- $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ +- depend && \ ++ ( cd libgrades/$$grade/mdbcomp && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ + install_library ) && \ +- ( cd tmp_dir/browser && \ +- $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ +- depend && \ ++ ( cd libgrades/$$grade/browser && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ + install_library ) && \ +- ( cd tmp_dir/trace && \ ++ ( cd libgrades/$$grade/trace && \ + $(SUBDIR_MMAKE) MC=mmc GRADE=$$grade WORKSPACE=$$TWS \ + install_lib ) && \ + true || \ +- { echo "To clean up from failed install, remove tmp_dir"; \ +- exit 1; }; \ ++ exit 1; \ + fi; \ + done +- if test ! -f .leave_tmp_dir; then rm -fr tmp_dir; fi + + .PHONY: install_split_library + install_split_library: scripts dep_library +--- mercury-compiler-0.13.0.orig/boehm_gc/Mmakefile 2004-10-19 19:01:36.000000000 +1300 ++++ mercury-compiler-0.13.0/boehm_gc/Mmakefile 2006-09-16 12:01:01.000000000 +1200 +@@ -90,6 +90,9 @@ + .PHONY: force + force: + ++.PHONY: libgrade ++libgrade: lib$(GC_GRADE).$A lib$(GC_GRADE).$(EXT_FOR_SHARED_LIB) ++ + #-----------------------------------------------------------------------------# + + # installation rules +--- mercury-compiler-0.13.0.orig/browser/Mmakefile 2005-12-16 18:49:31.000000000 +1300 ++++ mercury-compiler-0.13.0/browser/Mmakefile 2006-09-16 12:18:39.000000000 +1200 +@@ -186,6 +186,11 @@ + .PHONY: int3s + int3s: $(INT3S_TARGETS) + ++.PHONY: libgrade ++libgrade: \ ++ lib$(BROWSER_LIB_NAME).$A \ ++ lib$(BROWSER_LIB_NAME).$(EXT_FOR_SHARED_LIB) ++ + #-----------------------------------------------------------------------------# + + tags: $(MTAGS) $($(BROWSER_LIB_NAME).ms) +--- mercury-compiler-0.13.0.orig/library/Mmakefile 2006-01-10 18:30:36.000000000 +1300 ++++ mercury-compiler-0.13.0/library/Mmakefile 2006-09-16 12:20:37.000000000 +1200 +@@ -196,6 +196,9 @@ + trans_opts: $(STD_LIB_NAME).trans_opts + $(STD_LIB_NAME).trans_opts: $($(STD_LIB_NAME).trans_opts) + ++.PHONY: libgrade ++libgrade: lib$(STD_LIB_NAME) ++ + #-----------------------------------------------------------------------------# + + tags: $(MTAGS) $($(STD_LIB_NAME).ms) +--- mercury-compiler-0.13.0.orig/mdbcomp/Mmakefile 2005-12-16 18:49:40.000000000 +1300 ++++ mercury-compiler-0.13.0/mdbcomp/Mmakefile 2006-09-16 12:22:14.000000000 +1200 +@@ -150,6 +150,13 @@ + .PHONY: int3s + int3s: $(INT3S_TARGETS) + ++.PHONY: libgrade ++libgrade: \ ++ $(mer_mdbcomp.int3s) $(mer_mdbcomp.ints) \ ++ lib$(MDBCOMP_LIB_NAME).$A \ ++ lib$(MDBCOMP_LIB_NAME).$(EXT_FOR_SHARED_LIB) \ ++ all-ints ++ + #-----------------------------------------------------------------------------# + + tags: $(MTAGS) $($(MDBCOMP_LIB_NAME).ms) +--- mercury-compiler-0.13.0.orig/runtime/Mmakefile 2006-03-30 18:13:48.000000000 +1200 ++++ mercury-compiler-0.13.0/runtime/Mmakefile 2006-09-16 12:23:46.000000000 +1200 +@@ -420,6 +420,9 @@ + @if test ! -f tags; then echo making tags; \ + ctags $(CFILES) $(HDRS) $(BODY_HDRS) $(LIB_DLL_H); fi + ++.PHONY: libgrade ++libgrade: lib$(RT_LIB_NAME).$A lib$(RT_LIB_NAME).$(EXT_FOR_SHARED_LIB) ++ + #-----------------------------------------------------------------------------# + + # installation rules +--- mercury-compiler-0.13.0.orig/scripts/prepare_tmp_dir_fixed_part.in 2005-01-28 20:11:59.000000000 +1300 ++++ mercury-compiler-0.13.0/scripts/prepare_tmp_dir_fixed_part.in 2006-09-16 12:28:36.000000000 +1200 +@@ -12,7 +12,9 @@ + fi + wd=`/bin/pwd` + +-mkdir tmp_dir ++tmp_dir=libgrades/$1 ++ ++mkdir -p tmp_dir + cp Mmake* tmp_dir + cp Mercury.* tmp_dir + cp VERSION tmp_dir +--- mercury-compiler-0.13.0.orig/scripts/prepare_tmp_dir_grade_part 2005-05-20 18:15:20.000000000 +1200 ++++ mercury-compiler-0.13.0/scripts/prepare_tmp_dir_grade_part 2006-09-16 12:30:47.000000000 +1200 +@@ -5,6 +5,8 @@ + # Public License - see the file COPYING in the Mercury distribution. + #---------------------------------------------------------------------------# + ++tmp_dir=libgrades/$1 ++ + rm -fr tmp_dir/boehm_gc + rm -fr tmp_dir/runtime + rm -fr tmp_dir/trace +--- mercury-compiler-0.13.0.orig/trace/Mmakefile 2006-04-04 19:42:03.000000000 +1200 ++++ mercury-compiler-0.13.0/trace/Mmakefile 2006-09-16 12:25:49.000000000 +1200 +@@ -204,6 +204,9 @@ + @if test ! -f tags; then echo making tags; \ + ctags $(CFILES) $(HDRS) $(RUNTIME_DIR)/*.c $(RUNTIME_DIR)/*.h ; fi + ++.PHONY: libgrade ++libgrade: lib$(TRACE_LIB_NAME).$A lib$(TRACE_LIB_NAME).$(EXT_FOR_SHARED_LIB) ++ + #-----------------------------------------------------------------------------# + + # installation rules diff --git a/dev-lang/mercury/files/mercury-0.13.0-portage.patch b/dev-lang/mercury/files/mercury-0.13.0-portage.patch new file mode 100644 index 000000000000..0db4ff431af6 --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-portage.patch @@ -0,0 +1,91 @@ +--- mercury-compiler-0.13.0.orig/Makefile 2005-08-22 15:38:34.000000000 +1200 ++++ mercury-compiler-0.13.0/Makefile 2006-09-16 10:38:21.000000000 +1200 +@@ -26,7 +26,7 @@ + + .PHONY: all + all: +- $(MMAKE) MMAKEFLAGS=$(PARALLEL) all ++ $(MMAKE) MMAKEFLAGS=$(PARALLEL) all || exit 1 + + .PHONY: libmmc + libmmc: +@@ -34,7 +34,7 @@ + + .PHONY: install + install: +- $(MMAKE) MMAKEFLAGS=$(PARALLEL) install ++ $(MMAKE) MMAKEFLAGS=$(PARALLEL) install || exit 1 + + # `mmake clean' has a different meaning to the usual GNU standard `make clean': + # it removes the .c files, which makes bootstrapping impossible unless you +--- mercury-compiler-0.13.0.orig/configure 2006-09-14 16:06:21.000000000 +1200 ++++ mercury-compiler-0.13.0/configure 2006-09-16 10:41:52.000000000 +1200 +@@ -9148,11 +9148,11 @@ + enable_mm_grades=no + enable_dmm_grades=no + enable_hlc_prof_grades=no +- enable_par_grades=no + enable_dotnet_grades=no + enable_java_grade=no + fi + ++ + #-----------------------------------------------------------------------------# + + # +--- mercury-compiler-0.13.0.orig/runtime/Mmakefile 2006-03-30 18:13:48.000000000 +1200 ++++ mercury-compiler-0.13.0/runtime/Mmakefile 2006-09-16 10:45:05.000000000 +1200 +@@ -434,8 +434,6 @@ + -[ -d $(INSTALL_MODULE_DIR) ] || mkdir -p $(INSTALL_MODULE_DIR) + -[ -d $(INSTALL_MERC_LIB_DIR) ] || mkdir -p $(INSTALL_MERC_LIB_DIR) + -[ -d $(INSTALL_CONF_DIR) ] || mkdir -p $(INSTALL_CONF_DIR) +- -[ -d $(INSTALL_RECONF_DIR)/runtime ] || \ +- mkdir -p $(INSTALL_RECONF_DIR)/runtime + + ifeq ($(findstring java,$(GRADE)),java) + +@@ -481,7 +479,6 @@ + rm -f $(INSTALL_INC_DIR)/mercury_conf.h + cp `vpath_find mercury_conf.h` $(INSTALL_CONF_DIR) + -chmod u+w $(INSTALL_CONF_DIR)/mercury_conf.h +- cp `vpath_find mercury_conf.h.in` $(INSTALL_RECONF_DIR)/runtime + cp `vpath_find $(MACHHDRS)` $(INSTALL_INC_DIR)/machdeps + + .PHONY: install_init +--- mercury-compiler-0.13.0.orig/scripts/Mmakefile 2006-04-04 19:41:49.000000000 +1200 ++++ mercury-compiler-0.13.0/scripts/Mmakefile 2006-09-16 10:52:36.000000000 +1200 +@@ -26,16 +26,12 @@ + canonical_grade \ + mdb \ + mdprof \ +- mercury.bat \ +- mercury_config \ + mercury_update_interface \ + mgnuc \ +- mkfifo_using_mknod \ + ml \ + mmake \ + mmc \ +- mprof \ +- prepare_tmp_dir_fixed_part ++ mprof + + SCRIPTS = $(NONCONF_SCRIPTS) $(CONF_SCRIPTS) + +@@ -103,8 +99,6 @@ + [ -d $(INSTALL_LIBDIR)/mdb ] || mkdir -p $(INSTALL_LIBDIR)/mdb + [ -d $(INSTALL_CONF_DIR) ] || mkdir -p $(INSTALL_CONF_DIR) + [ -d $(INSTALL_ELISP_DIR) ] || mkdir -p $(INSTALL_ELISP_DIR) +- [ -d $(INSTALL_RECONF_DIR)/scripts ] || \ +- mkdir -p $(INSTALL_RECONF_DIR)/scripts + + .PHONY: install_mmake + install_mmake: Mmake.vars Mmake.rules install_dirs +@@ -122,7 +116,6 @@ + -for file in $(SCRIPTS); do \ + chmod u+w $(INSTALL_BINDIR)/$$file ;\ + done +- cp *.in *.sh-subr $(SCRIPTS) $(INSTALL_RECONF_DIR)/scripts + -rm -f $(INSTALL_BINDIR)/mmake.old + + .PHONY: install_config diff --git a/dev-lang/mercury/files/mercury-0.13.0-tests.patch b/dev-lang/mercury/files/mercury-0.13.0-tests.patch new file mode 100644 index 000000000000..497c704668f4 --- /dev/null +++ b/dev-lang/mercury/files/mercury-0.13.0-tests.patch @@ -0,0 +1,120 @@ +diff -urN mercury-tests-0.13.0.orig/hard_coded/dir_test.exp mercury-tests-0.13.0/hard_coded/dir_test.exp +--- mercury-tests-0.13.0.orig/hard_coded/dir_test.exp 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0/hard_coded/dir_test.exp 2006-09-16 12:41:31.000000000 +1200 +@@ -130,7 +130,6 @@ + "foo"/"bar/baz" = "foo\bar\baz".
+ "foo/"/"bar/baz" = "foo\bar\baz".
+ checking whether `unwritable' is readable...ok
+-unwritable file found to be unwritable
+ make_directory succeeded
+ make_directory succeeded
+ dir.make_single_directory with non-existent parent failed as expected.
+diff -urN mercury-tests-0.13.0.orig/hard_coded/dir_test.exp2 mercury-tests-0.13.0/hard_coded/dir_test.exp2 +--- mercury-tests-0.13.0.orig/hard_coded/dir_test.exp2 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0/hard_coded/dir_test.exp2 2006-09-16 12:41:31.000000000 +1200 +@@ -127,7 +127,6 @@ + "foo"/"bar/baz" = "foo/bar/baz". + "foo/"/"bar/baz" = "foo/bar/baz". + checking whether `unwritable' is readable...ok +-unwritable file found to be unwritable + make_directory succeeded + make_directory succeeded + dir.make_single_directory with non-existent parent failed as expected. +diff -urN mercury-tests-0.13.0.orig/hard_coded/dir_test.exp3 mercury-tests-0.13.0/hard_coded/dir_test.exp3 +--- mercury-tests-0.13.0.orig/hard_coded/dir_test.exp3 2003-07-29 03:50:45.000000000 +1200 ++++ mercury-tests-0.13.0/hard_coded/dir_test.exp3 2006-09-16 12:41:31.000000000 +1200 +@@ -130,7 +130,6 @@ + "foo"/"bar/baz" = "foo/bar/baz". + "foo/"/"bar/baz" = "foo/bar/baz". + checking whether `unwritable' is readable...ok +-unwritable file found to be unwritable + make_directory succeeded + make_directory succeeded + dir.make_single_directory with non-existent parent failed as expected. +diff -urN mercury-tests-0.13.0.orig/hard_coded/dir_test.m mercury-tests-0.13.0/hard_coded/dir_test.m +--- mercury-tests-0.13.0.orig/hard_coded/dir_test.m 2006-03-29 20:08:00.000000000 +1200 ++++ mercury-tests-0.13.0/hard_coded/dir_test.m 2006-09-16 12:41:31.000000000 +1200 +@@ -50,16 +50,6 @@ + io__write(ReadResult), + io__nl, + +- io__check_file_accessibility("unwritable", +- [read, write], WriteResult), +- ( { WriteResult = ok } -> +- io__write_string( +- "Error: unwritable file found to be writable\n") +- ; +- io__write_string( +- "unwritable file found to be unwritable\n") +- ), +- + { Dir1 = "test_dir"/"d1" }, + test0("make_directory", dir__make_directory(Dir1)), + % Test making a directory that already exists. +diff -urN mercury-tests-0.13.0.orig/mdbrc mercury-tests-0.13.0/mdbrc +--- mercury-tests-0.13.0.orig/mdbrc 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/mdbrc 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,19 @@ ++source MDB_DOC ++alias s step ++alias g goto ++alias f finish ++alias r retry ++alias v vars ++alias p print ++alias P print * ++alias d stack ++alias c continue ++alias b break ++alias h help ++alias ? help ++alias excp exception ++alias e exception ++alias EMPTY step ++alias NUMBER step ++set xml_browser_cmd '' ++set xml_tmp_filename '' +diff -urN mercury-tests-0.13.0.orig/tabling/loopcheck.exp5 mercury-tests-0.13.0/tabling/loopcheck.exp5 +--- mercury-tests-0.13.0.orig/tabling/loopcheck.exp5 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/tabling/loopcheck.exp5 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,3 @@ ++Uncaught Mercury exception: ++Software Error: detected infinite recursion in pred loopcheck.loop/1 ++Stack dump not available in this grade. +diff -urN mercury-tests-0.13.0.orig/tabling/loopcheck_nondet.exp2 mercury-tests-0.13.0/tabling/loopcheck_nondet.exp2 +--- mercury-tests-0.13.0.orig/tabling/loopcheck_nondet.exp2 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/tabling/loopcheck_nondet.exp2 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,3 @@ ++Uncaught Mercury exception: ++Software Error: detected infinite recursion in pred loopcheck_nondet.loop/2 ++Stack dump not available in this grade. +diff -urN mercury-tests-0.13.0.orig/tabling/tc_loop.exp3 mercury-tests-0.13.0/tabling/tc_loop.exp3 +--- mercury-tests-0.13.0.orig/tabling/tc_loop.exp3 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/tabling/tc_loop.exp3 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,3 @@ ++Uncaught Mercury exception: ++Software Error: detected infinite recursion in pred tc_loop.tc/2 ++Stack dump not available in this grade. +diff -urN mercury-tests-0.13.0.orig/tabling/tc_memo.exp2 mercury-tests-0.13.0/tabling/tc_memo.exp2 +--- mercury-tests-0.13.0.orig/tabling/tc_memo.exp2 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/tabling/tc_memo.exp2 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,3 @@ ++Uncaught Mercury exception: ++Software Error: detected infinite recursion in pred tc_memo.tc/2 ++Stack dump not available in this grade. +diff -urN mercury-tests-0.13.0.orig/tabling/tc_memo2.exp2 mercury-tests-0.13.0/tabling/tc_memo2.exp2 +--- mercury-tests-0.13.0.orig/tabling/tc_memo2.exp2 1970-01-01 12:00:00.000000000 +1200 ++++ mercury-tests-0.13.0/tabling/tc_memo2.exp2 2006-09-16 12:41:44.000000000 +1200 +@@ -0,0 +1,3 @@ ++Uncaught Mercury exception: ++Software Error: detected need for minimal model in pred tc_memo2.tc/2 ++Stack dump not available in this grade. +diff -urN mercury-tests-0.13.0.orig/valid/Mmakefile mercury-tests-0.13.0/valid/Mmakefile +--- mercury-tests-0.13.0.orig/valid/Mmakefile 2006-08-07 17:02:39.000000000 +1200 ++++ mercury-tests-0.13.0/valid/Mmakefile 2006-09-16 12:41:44.000000000 +1200 +@@ -397,3 +397,5 @@ + rm -f *.err *.h + + #-----------------------------------------------------------------------------# ++ ++MCFLAGS-ho_and_type_spec_bug+=--no-optimize-higher-order diff --git a/dev-lang/mercury/mercury-0.13.0.ebuild b/dev-lang/mercury/mercury-0.13.0.ebuild new file mode 100644 index 000000000000..4d98afa4703b --- /dev/null +++ b/dev-lang/mercury/mercury-0.13.0.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.0.ebuild,v 1.1 2006/09/16 01:09:09 keri Exp $ + +inherit eutils + +MY_P=${PN}-compiler-${PV} + +DESCRIPTION="Mercury is a modern general-purpose logic/functional programming language" +HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html" +SRC_URI="ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/${MY_P}.tar.gz + ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/mercury-tests-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" + +IUSE="debug minimal readline threads" + +DEPEND="readline? ( sys-libs/readline )" + +S="${WORKDIR}"/${MY_P} +TESTDIR="${WORKDIR}"/${PN}-tests-${PV} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-portage.patch + epatch "${FILESDIR}"/${P}-CFLAGS.patch + epatch "${FILESDIR}"/${P}-MAKEOPTS.patch + epatch "${FILESDIR}"/${P}-bootstrap.patch + epatch "${FILESDIR}"/${P}-LIBDIR.patch + epatch "${FILESDIR}"/${P}-libgrades.patch + epatch "${FILESDIR}"/${P}-docs.patch + + cd "${TESTDIR}" + epatch "${FILESDIR}"/${P}-tests.patch + sed -i -e "s:MDB_DOC:${S}/doc/mdb_doc:" mdbrc +} + +src_compile() { + local myconf + myconf="--disable-dotnet-grades \ + $(use_enable debug debug-grades) \ + $(use_enable threads par-grades) \ + $(use_enable !minimal most-grades) \ + $(use_with readline) \ + PACKAGE_VERSION=${PV}" + + einfo "Performing stage 1 bootstrap" + econf \ + ${myconf} \ + BOOTSTRAP_STAGE="1" \ + || die "econf stage 1 failed" + emake || die "emake stage 1 failed" + + einfo "Performing stage 2 bootstrap" + cp "${S}"/compiler/mercury_compile "${S}"/mercury_compile + econf \ + ${myconf} \ + BOOTSTRAP_STAGE="2" \ + || die "econf stage 2 failed" + emake \ + MERCURY_COMPILER="${S}"/mercury_compile \ + || die "emake stage 2 failed" + + einfo "Compiling libgrades" + emake \ + MERCURY_COMPILER="${S}"/compiler/mercury_compile \ + libgrades || die "emake libgrades failed" +} + +src_test() { + cd "${S}" + TEST_GRADE=`scripts/ml --print-grade` + if [ -d "${S}"/libgrades/${TEST_GRADE} ] ; then + TWS="${S}"/libgrades/${TEST_GRADE} + cp browser/mer_browser.init "${TWS}"/browser/ + cp mdbcomp/mer_mdbcomp.init "${TWS}"/mdbcomp/ + cp runtime/mer_rt.init "${TWS}"/runtime/ + else + TWS="${S}" + fi + + cd "${TESTDIR}" + PATH="${TWS}"/scripts:"${TWS}"/util:"${PATH}" \ + WORKSPACE="${TWS}" \ + MERCURY_COMPILER="${TWS}"/compiler/mercury_compile \ + MMAKE_DIR="${TWS}"/scripts \ + MERCURY_DEBUGGER_INIT="${TESTDIR}"/mdbrc \ + GRADE=${TEST_GRADE} \ + mmake || die "mmake test failed" +} + +src_install() { + make \ + INSTALL_PREFIX="${D}"/usr \ + INSTALL_MAN_DIR="${D}"/usr/share/man \ + INSTALL_INFO_DIR="${D}"/usr/share/info \ + INSTALL_HTML_DIR="${D}"/usr/share/doc/${PF}/html \ + install || die "make install failed" + + dodoc \ + BUGS HISTORY LIMITATIONS NEWS README README.Linux \ + README.Linux-Alpha README.Linux-m68k README.Linux-PPC \ + RELEASE_NOTES TODO VERSION WORK_IN_PROGRESS +} |