ChangeLog

# ChangeLog for dev-lang/mercury
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/ChangeLog,v 1.84 2008/08/21 07:01:55 keri Exp $

*mercury-0.13.1-r2 (21 Aug 2008)

21 Aug 2008; +files/mercury-0.13.1-mmake-params.patch,
+files/mercury-0.13.1-no-reconf.patch,
files/mercury-0.13.1-tests-workspace.patch, +mercury-0.13.1-r2.ebuild:
Simplify bootstrap; mmc re-conf update; MCFLAGS fixups. Closes #201828 and
#206144.

09 May 2008; keri mercury-0.12.2-r3.ebuild,
mercury-0.12.2-r4.ebuild, mercury-0.13.1.ebuild, mercury-0.13.1-r1.ebuild:
Remove redundant calls to cd ${S}

04 Apr 2008; keri mercury-0.13.1-r1.ebuild:
Reduce CFLAGS to those which do not interfere with mdb.

20 Oct 2007; keri
+files/mercury-0.13.1-tests-declarative-throw.patch,
mercury-0.13.1-r1.ebuild:
Fix missing trace path on declarative debugging tests.

15 Oct 2007; keri files/mercury-0.13.1-bootstrap.patch:
Regenerate slice C files when bootstrap stage1 grade is different from
bootstrap stage2 grade.

02 Mar 2007; keri
-files/mercury-0.13.1-tests-tabling_inf_recursion.patch,
mercury-0.13.1-r1.ebuild:
Run test-suite with MERCURY_SUPPRESS_STACK_TRACE=yes

16 Jan 2007; keri
files/mercury-0.13.1-tests-workspace.patch:
Enable default bootstrap MCFLAGS in Mercury testsuite.

13 Jan 2007; keri files/mercury-0.13.1-multilib.patch,
mercury-0.12.2-r3.ebuild, mercury-0.12.2-r4.ebuild, mercury-0.13.1.ebuild,
mercury-0.13.1-r1.ebuild:
Do not parallelize generation of .dev and .dv files.

13 Jan 2007; keri -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-deep_profiler.patch,
-files/mercury-0.13.0-docs.patch, -files/mercury-0.13.0-libgrades.patch,
-files/mercury-0.13.0-parallel-install_grades.patch,
-files/mercury-0.13.0-pic_o-dependencies.patch,
-files/mercury-0.13.0-portage.patch, -files/mercury-0.13.0-tests.patch,
-mercury-0.13.0.ebuild:
Remove old -0.13.0 version.

13 Jan 2007; keri -files/mercury-0.12.2-LIBDIR.patch,
+files/mercury-0.12.2-multilib.patch,
+files/mercury-0.13.1-multilib.patch, mercury-0.12.2-r3.ebuild,
mercury-0.12.2-r4.ebuild, mercury-0.13.1-r1.ebuild:
Multilib support of libgrades.

11 Jan 2007; keri
+files/mercury-0.13.1-tests-workspace.patch, mercury-0.13.1-r1.ebuild:
Handle workspace flags when running against the Mercury test-suite.

09 Jan 2007; keri mercury-0.13.1-r1.ebuild:
Add ~amd64 to KEYWORDS.

08 Jan 2007; keri files/mercury-0.12.2-bootstrap.patch:
Merge unboxed_float fix into bootstrap patch.

08 Jan 2007; keri files/mercury-0.12.2-bootstrap.patch,
-files/mercury-0.12.2-unboxed_floats.patch,
files/mercury-0.13.1-bootstrap.patch,
-files/mercury-0.13.1-unboxed_floats.patch, mercury-0.12.2-r4.ebuild,
mercury-0.13.1-r1.ebuild:
Do not rebuild C files in a stage1 bootstrap without a Mercury compiler handy.

07 Jan 2007; keri
+files/mercury-0.12.2-unboxed_floats.patch,
+files/mercury-0.13.1-unboxed_floats.patch, mercury-0.12.2-r4.ebuild,
mercury-0.13.1-r1.ebuild:
Unboxed float fix on stage1 bootstrap.

07 Jan 2007; keri
+files/mercury-0.13.1-tests-dir_test.patch,
+files/mercury-0.13.1-tests-ho_and_type_spec_bug.patch,
+files/mercury-0.13.1-tests-mdbrc.patch,
+files/mercury-0.13.1-tests-string_format.patch,
+files/mercury-0.13.1-tests-tabling_inf_recursion.patch,
mercury-0.13.1-r1.ebuild:
Mercury testcase shakeup.

07 Jan 2007; keri
+files/mercury-0.12.2-tests-dir_test.patch,
+files/mercury-0.12.2-tests-foreign_decl_line_number.patch,
+files/mercury-0.12.2-tests-ho_and_type_spec_bug.patch,
+files/mercury-0.12.2-tests-mdbrc.patch,
+files/mercury-0.12.2-tests-string_format.patch,
+files/mercury-0.12.2-tests-tabling_inf_recursion.patch,
mercury-0.12.2-r4.ebuild:
Fix 64bit string_format_o test.

*mercury-0.13.1-r1 (30 Dec 2006)

30 Dec 2006; keri
+files/mercury-0.13.1-profdeep-builtin_throw.patch,
+mercury-0.13.1-r1.ebuild:
Ensure the proc_layout structure for builtin_throw in exception.m is
externally visible.

*mercury-0.12.2-r4 (30 Dec 2006)

30 Dec 2006; keri
+files/mercury-0.12.2-profdeep-builtin_throw.patch,
+mercury-0.12.2-r4.ebuild:
Enable the mercury deep-profiler.

*mercury-0.13.1 (04 Dec 2006)

04 Dec 2006; keri +files/mercury-0.13.1-CFLAGS.patch,
+files/mercury-0.13.1-LIBDIR.patch, +files/mercury-0.13.1-MAKEOPTS.patch,
+files/mercury-0.13.1-bootstrap.patch,
+files/mercury-0.13.1-deep_profiler.patch,
+files/mercury-0.13.1-docs.patch, +files/mercury-0.13.1-libgrades.patch,
+files/mercury-0.13.1-parallel-install_grades.patch,
+files/mercury-0.13.1-portage.patch, +files/mercury-0.13.1-tests.patch,
+mercury-0.13.1.ebuild:
Version bump.

23 Nov 2006; keri
+files/mercury-0.12.2-pic_o-dependencies.patch,
+files/mercury-0.13.0-pic_o-dependencies.patch, mercury-0.12.2-r3.ebuild,
mercury-0.13.0.ebuild:
Generate dependencies on .mh files for both .o and .pic_o files. Reported by
M. Edward Borasky in #154523.

10 Nov 2006; keri mercury-0.13.0.ebuild:
Generate _init.c files after all C files have been generated.

06 Nov 2006; keri mercury-0.13.0.ebuild:
Disable profdeep grades.

24 Oct 2006; keri -files/mercury-0.12.2-portage.patch,
-files/mercury-0.12.2-portage-r1.patch,
-files/mercury-0.12.2-portage-r2.patch,
-files/mercury-0.13.0-mkinit.patch, -mercury-0.12.2.ebuild,
-mercury-0.12.2-r1.ebuild, -mercury-0.12.2-r2.ebuild:
Remove old revisions that don't support parallel build.

23 Oct 2006; keri
+files/mercury-0.12.2-parallel-install_grades.patch,
+files/mercury-0.13.0-parallel-install_grades.patch,
mercury-0.12.2-r3.ebuild, mercury-0.13.0.ebuild:
Parallelize install_grades target in Mmake.rules.

19 Oct 2006; keri mercury-0.12.2.ebuild,
mercury-0.12.2-r1.ebuild, mercury-0.12.2-r2.ebuild,
mercury-0.12.2-r3.ebuild, mercury-0.13.0.ebuild:
Update SRC_URI.

18 Oct 2006; Joshua Jackson mercury-0.12.2-r3.ebuild:
Stable x86; bug #149924

15 Oct 2006; keri files/mercury-0.13.0-tests.patch:
Do not use the set command in mdbrc.

14 Oct 2006; keri mercury-0.13.0.ebuild:
Add ~sparc keyword.

14 Oct 2006; keri mercury-0.13.0.ebuild:
Add $(MakeVarName.cs) to InitFile target in dep files for stage2 bootstrap.

14 Oct 2006; keri +files/mercury-0.13.0-mkinit.patch,
mercury-0.13.0.ebuild:
Ensure mmc generates .c files before mkinit is run.

12 Oct 2006; keri mercury-0.13.0.ebuild:
Do not pre-strip binaries.

12 Oct 2006; keri files/mercury-0.13.0-libgrades.patch:
Update libgrades compilation.

07 Oct 2006; keri mercury-0.12.2-r3.ebuild:
Do not pre-strip binaries.

05 Oct 2006; mercury-0.12.2-r3.ebuild:
Stable on ppc wrt bug 149924

04 Oct 2006; keri mercury-0.12.2-r3.ebuild:
Add ~sparc keyword.

03 Oct 2006; keri files/mercury-0.12.2-tests.patch:
Fix string_format tests for 64bit architectures.

03 Oct 2006; keri mercury-0.12.2-r3.ebuild:
Add ~amd64 keyword.

18 Sep 2006; keri mercury-0.12.2-r3.ebuild:
Disable deepprof libgrades.

17 Sep 2006; keri
+files/mercury-0.12.2-deep_profiler.patch,
+files/mercury-0.13.0-deep_profiler.patch, mercury-0.12.2-r3.ebuild,
mercury-0.13.0.ebuild:
Add support for Mercury deep profiler.

16 Sep 2006; keri
-files/mercury-0.13.0_beta-CFLAGS.patch,
-files/mercury-0.13.0_beta-LIBDIR.patch,
-files/mercury-0.13.0_beta-MAKEOPTS.patch,
-files/mercury-0.13.0_beta-bootstrap.patch,
-files/mercury-0.13.0_beta-docs.patch,
-files/mercury-0.13.0_beta-libgrades.patch,
-files/mercury-0.13.0_beta-portage.patch,
-files/mercury-0.13.0_beta-tests.patch,
-mercury-0.13.0_beta20060907.ebuild:
Remove 0.13.0_beta development snapshot.

16 Sep 2006; keri files/mercury-0.12.2-MAKEOPTS.patch,
files/mercury-0.12.2-libgrades.patch, files/mercury-0.13.0-MAKEOPTS.patch,
files/mercury-0.13.0-libgrades.patch:
Run mmake depend in stage 2 bootstrap.

16 Sep 2006; keri files/mercury-0.12.2-libgrades.patch,
files/mercury-0.13.0-libgrades.patch:
Parallelize compilation of libgrades.

*mercury-0.13.0 (16 Sep 2006)

16 Sep 2006; keri +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 +files/mercury-0.12.2-MAKEOPTS.patch,
+files/mercury-0.13.0_beta-MAKEOPTS.patch, mercury-0.12.2-r3.ebuild,
mercury-0.13.0_beta20060907.ebuild:
Parallelize compilation.

10 Sep 2006; keri files/mercury-0.12.2-bootstrap.patch,
files/mercury-0.13.0_beta-bootstrap.patch:
Ensure PIC and non-PIC code is not mixed on x86.

*mercury-0.13.0_beta20060907 (09 Sep 2006)

09 Sep 2006; keri
files/mercury-0.13.0_beta-portage.patch,
-mercury-0.13.0_beta20060811.ebuild, +mercury-0.13.0_beta20060907.ebuild:
New development snapshot.

14 Aug 2006; Keri Harris
files/mercury-0.12.2-tests.patch, mercury-0.12.2-r3.ebuild:
Run test-suite with DEFAULT_GRADE.

12 Aug 2006; Keri Harris
+files/mercury-0.13.0_beta-LIBDIR.patch,
+files/mercury-0.13.0_beta-bootstrap.patch,
+files/mercury-0.13.0_beta-libgrades.patch,
files/mercury-0.13.0_beta-portage.patch,
mercury-0.13.0_beta20060811.ebuild:
Add two-stage bootstrap support.

12 Aug 2006; Keri Harris
-mercury-0.13.0_beta20060623.ebuild:
Remove old development snapshot.

*mercury-0.13.0_beta20060811 (12 Aug 2006)

12 Aug 2006; Keri Harris
+mercury-0.13.0_beta20060811.ebuild:
New development snapshot.

*mercury-0.12.2-r3 (12 Aug 2006)

12 Aug 2006; Keri Harris
+files/mercury-0.12.2-bootstrap.patch,
+files/mercury-0.12.2-libgrades.patch,
+files/mercury-0.12.2-portage-r3.patch, +mercury-0.12.2-r3.ebuild:
Add two-stage bootstrap support.

*mercury-0.13.0_beta20060623 (25 Jun 2006)

25 Jun 2006; Keri Harris
-mercury-0.13.0_beta20060615.ebuild, +mercury-0.13.0_beta20060623.ebuild:
New development snapshot.

*mercury-0.13.0_beta20060615 (17 Jun 2006)

17 Jun 2006; Keri Harris
-files/mercury-0.13.0_beta-LIBDIR.patch,
files/mercury-0.13.0_beta-portage.patch,
+files/mercury-0.13.0_beta-tests.patch, mercury-0.12.2-r2.ebuild,
-mercury-0.13.0_beta20060609.ebuild, +mercury-0.13.0_beta20060615.ebuild:
New development snapshot incorporating support for threaded libgrades and
src_test.

17 Jun 2006; Keri Harris
+files/mercury-0.12.2-portage-r2.patch, mercury-0.12.2-r2.ebuild:
Enable hlc.par.gc libgrade on a minimal install if threading is enabled.

*mercury-0.12.2-r2 (16 Jun 2006)

16 Jun 2006; Keri Harris +mercury-0.12.2-r2.ebuild:
Add thread-safe libgrade support.

14 Jun 2006; Keri Harris
+files/mercury-0.12.2-portage-r1.patch, +files/mercury-0.12.2-tests.patch,
mercury-0.12.2-r1.ebuild:
Add src_test support for default libgrade.

*mercury-0.13.0_beta20060609 (12 Jun 2006)

12 Jun 2006; Keri Harris
-mercury-0.13.0_beta20060601.ebuild, +mercury-0.13.0_beta20060609.ebuild:
New development snapshot.

09 Jun 2006; Keri Harris
+files/mercury-0.13.0_beta-LIBDIR.patch,
mercury-0.13.0_beta20060601.ebuild:
Add debug support to libgrades.

*mercury-0.12.2-r1 (09 Jun 2006)

09 Jun 2006; Keri Harris
+files/mercury-0.12.2-LIBDIR.patch, files/mercury-0.12.2-portage.patch,
+mercury-0.12.2-r1.ebuild:
Add debug support to libgrades. Append ${P} to install_libdir so that
mercury-extras can be upgraded.

04 Jun 2006; Keri Harris
-mercury-0.13.0_beta20060517.ebuild, -mercury-0.13.0_beta20060525.ebuild:
Remove old development snapshots.

*mercury-0.13.0_beta20060601 (04 Jun 2006)

04 Jun 2006; Keri Harris
+mercury-0.13.0_beta20060601.ebuild:
New development snapshot.

*mercury-0.13.0_beta20060525 (27 May 2006)

27 May 2006; Keri Harris
+mercury-0.13.0_beta20060525.ebuild:
New development snapshot.

20 May 2006; Keri Harris
-mercury-0.13.0_beta20060501.ebuild, -mercury-0.13.0_beta20060511.ebuild:
Remove old development snapshots from the tree.

*mercury-0.13.0_beta20060517 (20 May 2006)

20 May 2006; Keri Harris
+mercury-0.13.0_beta20060517.ebuild:
New development snapshot.

*mercury-0.13.0_beta20060511 (13 May 2006)

13 May 2006; Keri Harris
+mercury-0.13.0_beta20060511.ebuild:
New development snapshot.

13 May 2006; Keri Harris
mercury-0.13.0_beta20060501.ebuild:
Change upstream SRC_URI.

13 May 2006; Keri Harris -mercury-0.13.0_beta5.ebuild,
-mercury-0.13.0_beta6.ebuild, -mercury-0.13.0_beta7.ebuild,
-mercury-0.13.0_beta8.ebuild:
Remove old development snapshots from the tree.

*mercury-0.13.0_beta20060501 (13 May 2006)

13 May 2006; Keri Harris
+mercury-0.13.0_beta20060501.ebuild:
New development snapshot.

*mercury-0.13.0_beta8 (02 May 2006)

02 May 2006; Keri Harris +mercury-0.13.0_beta8.ebuild:
New development snapshot.

*mercury-0.13.0_beta7 (29 Apr 2006)

29 Apr 2006; Keri Harris +mercury-0.13.0_beta7.ebuild:
New development snapshot.

27 Apr 2006; Marien Zwart Manifest:
Fixing SHA256 digest, pass four

*mercury-0.13.0_beta6 (26 Apr 2006)

26 Apr 2006; Keri Harris +mercury-0.13.0_beta6.ebuild:
New development snapshot.

25 Apr 2006; Keri Harris -mercury-0.13.0_beta.ebuild,
-mercury-0.13.0_beta-r1.ebuild, -mercury-0.13.0_beta2.ebuild,
-mercury-0.13.0_beta3.ebuild, -mercury-0.13.0_beta4.ebuild:
Remove old development snapshots from the tree.

*mercury-0.13.0_beta5 (25 Apr 2006)

25 Apr 2006; Keri Harris +mercury-0.13.0_beta5.ebuild:
New development snapshot.

*mercury-0.13.0_beta4 (22 Apr 2006)

22 Apr 2006; Keri Harris +mercury-0.13.0_beta4.ebuild:
New development snapshot.

*mercury-0.13.0_beta3 (20 Apr 2006)

20 Apr 2006; Keri Harris +mercury-0.13.0_beta3.ebuild:
New development snapshot.

*mercury-0.13.0_beta2 (19 Apr 2006)

19 Apr 2006; Keri Harris +mercury-0.13.0_beta2.ebuild:
New development snapshot.

*mercury-0.13.0_beta-r1 (13 Apr 2006)

13 Apr 2006; Keri Harris +mercury-0.13.0_beta-r1.ebuild:
Revbump to new development snapshot.

*mercury-0.13.0_beta (07 Apr 2006)

07 Apr 2006; Keri Harris
+files/mercury-0.13.0_beta-CFLAGS.patch,
+files/mercury-0.13.0_beta-docs.patch,
+files/mercury-0.13.0_beta-portage.patch, +mercury-0.13.0_beta.ebuild:
Version bump to development release.

27 Mar 2006; Keri Harris mercury-0.12.2.ebuild:
Explicitly disable building dotnet grades. Thanks to Brian Danilko
in bug #127673

25 Mar 2006; Keri Harris mercury-0.12.2.ebuild:
Add ~ppc keyword.

24 Mar 2006; Keri Harris mercury-0.12.2.ebuild:
Updated install paths to respect ${PF}.

*mercury-0.12.2 (23 Mar 2006)

23 Mar 2006; Keri Harris
+files/mercury-0.12.2-CFLAGS.patch, +files/mercury-0.12.2-docs.patch,
+files/mercury-0.12.2-portage.patch, +metadata.xml,
+mercury-0.12.2.ebuild:
New ebuild. Based on an ebuild submitted by Ryan Kelly in bug #121234

Manifest

AUX mercury-0.12.2-CFLAGS.patch 1267 RMD160 70cbaa9b85c8ac23cd17c41c3d834c69af5bff1a SHA1 10dff1d7fd2ab500cb9995352a393824ac1c4925 SHA256 b27660a29a71b56071daa5e7fc6c62c697c53c55bf8b9068c1bc42002cdb00f1
AUX mercury-0.12.2-MAKEOPTS.patch 602 RMD160 866e63a6e48b4844f8dbe19d167030f6e22400e4 SHA1 56bcae5786f165e2367fad61e3d4247f5e089f38 SHA256 42850d29291fd6d77074706e21eaebce1de74a050c73f7e7eb1785e1c46e7398
AUX mercury-0.12.2-bootstrap.patch 5082 RMD160 6f5f9040fa7b61236abc158111c5f9834311d074 SHA1 49588af118605f4c661ead2db67151b7b7afa699 SHA256 a1895f82e4b129c01ad2d0cfb1ac044d833c9f7c22021757670eaf2d6823c1b5
AUX mercury-0.12.2-deep_profiler.patch 2807 RMD160 533f90a2b4366279d030be3b9983cec05f8c743c SHA1 c09682feeb9d9c426d69635bc71140552f54fed8 SHA256 479546aaaf966c4665e444af187f099b51fb3c78479753297d78336701ef301f
AUX mercury-0.12.2-docs.patch 796 RMD160 27543c5201dfcc3112878026c06f193e126288be SHA1 f7c2e543781f9f8b69777e7ef985279a6e9b284d SHA256 78be9f8ef2960ce9ea99b33734d9143a998d87056efa84bafb618cab74fcd514
AUX mercury-0.12.2-libgrades.patch 13195 RMD160 f31ba8ff5366b6b2bd0ff7bc26d3ae5ba5e54cae SHA1 cff5a32e41d8d82aa43b0c3bdd840bd588acea8c SHA256 ae6610ef3f61616601f03a8d6703595c2aaee7ca06fcbfaf15dbeb10cb358f6a
AUX mercury-0.12.2-multilib.patch 2791 RMD160 f6456bae3951f02d212a84afbbe4e2f643d43e41 SHA1 bd7d58f7d8a72d8551a62ff9072411e1da4cad14 SHA256 9b6fcbcf9627bc64ca1c08d9f065d665344d24cb3152baf04ff00996b7530738
AUX mercury-0.12.2-parallel-install_grades.patch 633 RMD160 0a72929eae70dce478a02898049abb4c7d63ddab SHA1 b6780296ac385c24486625079f790a8dfe2bc37f SHA256 ecf22afde46cfc249ce9269453cb606d6fdee11cb074667e08423a165554fd3e
AUX mercury-0.12.2-pic_o-dependencies.patch 2044 RMD160 f2f6fa26db16799e091dd73965fb4333ecf971d8 SHA1 691a3082570dc8894ed1d060c94c549d60129d66 SHA256 e11f0fb8e2f43dab2c45a4f7f8348894d64d16f0ea2d3bb3cec4203b74fe89b0
AUX mercury-0.12.2-portage-r3.patch 3249 RMD160 f49a3e173a2dab1af7d4c79c1333394e99fe1926 SHA1 c66f94f7bed987b890ea2ecc66c56148e3d24c5c SHA256 1fa09fe1f88ba05e4f0408bc8dd121b6daddb95ad873171ae15bc070771d2634
AUX mercury-0.12.2-profdeep-builtin_throw.patch 559 RMD160 026d3cd80847f0aa8bbf5d717513f4e59f2abed7 SHA1 6eb92781413e01d90d65358778ddf59ec31b4103 SHA256 2280f2eceba9aba706987e2475415df0724da633cf69f7484995162527b81909
AUX mercury-0.12.2-tests-dir_test.patch 2476 RMD160 fed297db46452c557f1d1575de0aacad38a18e73 SHA1 4f9e2bc3addcc82e10c03164a6de797410d9db09 SHA256 77d0078cdcfaff41e5e7504c183478c068474479a8a17be32d325533bc82cce0
AUX mercury-0.12.2-tests-foreign_decl_line_number.patch 578 RMD160 bc31bd62541388f37f88345efa1fdf9de9c2d6c2 SHA1 520dd2ee808b4d496d7c622fe04b1e40f181ba6a SHA256 5150bc0737f30d4f26518ad3ca4e5ee33de5f6e252c504d638e3609fa99f9b7d
AUX mercury-0.12.2-tests-ho_and_type_spec_bug.patch 429 RMD160 1bde150f45c1bccb5a3677f90395b9b0fb0b5080 SHA1 2cca1e74d382494326a4dbdd704dedc924e27419 SHA256 3322b5b9a36462114ded4a7caceaa16c87eb141149b36416e7c1f2cc36b8ca03
AUX mercury-0.12.2-tests-mdbrc.patch 549 RMD160 01d7c247abd12274d3cc5def379ee5bc6fe879f2 SHA1 3f8c654b9ec330d5030ffa46e2175e9822d2f749 SHA256 a34f781c1d183c9608a9f1e4702efce0cf5ca2bfed45ec3bc7799b38487f6391
AUX mercury-0.12.2-tests-string_format.patch 16659 RMD160 0859cec14bc5f1261494032ea8f669f2883ff6e7 SHA1 7ba69ec2c0457b560aaec92870a9ace2e031e4f0 SHA256 fc49c86dab465295a4731391c1d65394f17b20f178f800e5e8451770c52d66b0
AUX mercury-0.12.2-tests-tabling_inf_recursion.patch 2168 RMD160 22dea7744ad7eed608add741f5e5576fa132b702 SHA1 a9562f7fc81012942db6dbe6a29c0d4d69b8ec01 SHA256 e5869a6351f7dedf828de7a7f2c8e15cead5e4be3eb66f28365986a95f93c8cb
AUX mercury-0.12.2-tests.patch 7502 RMD160 88e9a509c696bb32d7982708261685a602322070 SHA1 bf4bda5139ee91bac25a0b77bb228320abaedab3 SHA256 8895bb246d111c3c09b309f3332a42f6bc3b6ea1f96f56537c2ccd2f82ac362f
AUX mercury-0.13.1-CFLAGS.patch 1323 RMD160 9a2dbc8c0e7bbd9b3848b5e04cf8119801891f91 SHA1 b632dd91ceabbd3a5de7605a1679848a48148fd8 SHA256 aa202b69450f4f122128f31c1976d45a7b05993629e5a7d3f60884c410a31ac6
AUX mercury-0.13.1-LIBDIR.patch 2436 RMD160 820f1eb40c3f0c0a506c4c721cd5bf21666f18e2 SHA1 d68d760dcf01345f3e3e11644c5efdfd4c534b7d SHA256 f6782cb78e99a878dcd3852fd592202de11e6435e6ab2e763243c3b874177511
AUX mercury-0.13.1-MAKEOPTS.patch 602 RMD160 505638677ca880c4384070adeb88ce72d5976aba SHA1 ea0325b640ba4e1f22ad90728a488e6d98313f3b SHA256 1e1f52b6037d69bac0f51c58e0a6f667a8e276fcbdacb3f317738d05471262de
AUX mercury-0.13.1-bootstrap.patch 5283 RMD160 b85ada36841331175262ff1391b8d38b6d062431 SHA1 83e6473ab7c1475313cf726765fe43a96f5792e8 SHA256 458acd9944219665a4bf7bc6487ff32d8063742e3fb21fcb2544631dacd5ea50
AUX mercury-0.13.1-deep_profiler.patch 2807 RMD160 f7b3c9efb95a81b5f076fa6385c21dd3b63aacdb SHA1 0a8a267ba6d1f1fb64e1993866136e3f443efdfb SHA256 2871b0d82e8442019611cf2ed9b563f85b1067a68967c54e06e2131e6cf08430
AUX mercury-0.13.1-docs.patch 796 RMD160 842e415a6c97d910e77e7179ab9b3f7d6447827c SHA1 4abd392a9f8030c87c3be7e7a183deaa61966e74 SHA256 c5e3ff95f34e8822bafc54d511a1f5f710ba485cffb661fccac163daf73ea6c2
AUX mercury-0.13.1-libgrades.patch 13854 RMD160 0f4dd4b97390962524944e3e57ce8d5b405967ed SHA1 8f5bdb0c367cb94aea0eae0dd15bddd164003cf1 SHA256 207d9af7c741845c1b0fcc098413952f8b002f4f71803fb38e474c63118d578f
AUX mercury-0.13.1-mmake-params.patch 191 RMD160 1ba2f7b0c02fde277ffbc348eb672396a43615bd SHA1 46c4568f8c3db5e1b9a1f392f5e5f8f74edc5424 SHA256 f1edb292107f87db8d97303031e0603ac847f73e2de54fb971b44e621b183ba4
AUX mercury-0.13.1-multilib.patch 3170 RMD160 fad84c0177d9611c869ad85657fc1fdeafc52942 SHA1 9f14ca95c454f426773aaa06b71a7b2e7e3f421b SHA256 58ebef426a8f7cf0015dfb92d6448e96b8db46070844e9d1e191c153cf79e647
AUX mercury-0.13.1-no-reconf.patch 1872 RMD160 76682430bfd858261068cf3c25eb06d5ec72acf9 SHA1 1cb7437db5cb485fbc1ebd52795747f61a54852e SHA256 bd552856cc6a2cfbcbdf5cbe888aae01360ecd67eca39f1ff5a0ce5e7c6341b6
AUX mercury-0.13.1-parallel-install_grades.patch 633 RMD160 5492e49f5ab7c8f16f52148a2678cc56c9398071 SHA1 fc90c6aebb4501178836d67ccc67a5b997f5314a SHA256 5630e0d82d4d76603817852601a6c0aeffe1f56e73b57f3c562ba29e5e5eeb1f
AUX mercury-0.13.1-portage.patch 2891 RMD160 18690121ca57a11d9ad77a300eecb753c1eeed12 SHA1 f5cf54bcffe37764b96228e112e95da8b4cb93e5 SHA256 b03e021502c0440ae84587ccb3604f8c0315239c9307b1af87fcc57f81a45c30
AUX mercury-0.13.1-profdeep-builtin_throw.patch 562 RMD160 0259aff999acd0a77d937bea86d8549409ec119b SHA1 f667b70eafb81967480a0d6f4d6420c33a1da98c SHA256 0582bf4e1cdf3aaf56128540ef7777215efc789d4d0ed6a45e759ce6ec6ff99f
AUX mercury-0.13.1-tests-declarative-throw.patch 1681 RMD160 884f7acce92cfc53cd071d4919ec1e1e2bffb320 SHA1 2672a4c9d10f22b1fee90a0f6ec699d7ff6387c7 SHA256 630b919c80fa0c8086f48544bdd21de0a9ef6eccb1cfbc2624458c8109ddf746
AUX mercury-0.13.1-tests-dir_test.patch 2476 RMD160 99c040bc588d0f455b1da42279fedc3f3f357217 SHA1 41e0fda83eacbdb698833216de4251e626adeba3 SHA256 20d7710d93e108eb5440b0d189f6a4f3848b589fb22e2be3e87d08baebd5f535
AUX mercury-0.13.1-tests-ho_and_type_spec_bug.patch 429 RMD160 4afcbd1b73c51c06187a0af02086e6c0527a8b8c SHA1 efe5458ab76060a37f0110000ee68e07212ff8d6 SHA256 d81c5e0a3cbf07190433cee583f9be8f14624b3f5e982bf04079fdb559b1f88c
AUX mercury-0.13.1-tests-mdbrc.patch 472 RMD160 a990e4f7d2c956b636a8ac7105593c487c424567 SHA1 af5f42ea2181c0bbd041f37f0c0ce879483b0c04 SHA256 ad27a2a74c5f9ceca3b39ed992ac6c8b24985f36e59f46969496ee8bd6f5288b
AUX mercury-0.13.1-tests-string_format.patch 15357 RMD160 1b3f5538f6c8aa9daa430d918e42c9c3e95122c5 SHA1 fb78eba72aae7de933951941f6db890548e298b0 SHA256 a0a3f1a5d9d75443d9f442925eb15131b7bfbe3c92f737a51f1340111b46a34e
AUX mercury-0.13.1-tests-workspace.patch 899 RMD160 f866379e0e4f8e4debebb86bfed778e881c9e790 SHA1 6b6cc428a516c082bcd7ac8bdbe05de1b1e75831 SHA256 8ab0c250ccdfdb57ba377335fd61dc980ad87135e388c6ae4ebe0ff3c464e456
AUX mercury-0.13.1-tests.patch 15074 RMD160 26594fb4404d3620ea454ec24ed3e6bb34ed501a SHA1 526488bac46ee66e0e446690054f20d44cd207af SHA256 64892634aad5abc0df4fb0be940b9956b8e85ce713818a75b9176b9e9feff647
DIST mercury-compiler-0.12.2.tar.gz 15074997 RMD160 227a3e1796d96ad77324d9f1d39efd6be7fce80e SHA1 96b7a878370bb256da28c8ffa1c4b0a4bc3711d6 SHA256 7fa1df8030cdc3d4dc848d102ba64bf23c12004461c985290622b81753b89572
DIST mercury-compiler-0.13.1.tar.gz 15938824 RMD160 a0a80cd2ac7393cf084b79d40230bd1efe795c5f SHA1 919eb45ba34c503fc2e7391225e52a5cfbb80616 SHA256 b1f4984e00ad917824d3340dcf2a41bede39fe02ef2e516351467f4761985196
DIST mercury-tests-0.12.2.tar.gz 897454 RMD160 e7cf515b0d56aff5432c5ec3e535faa907ce2955 SHA1 1f80ff38f141b975fe472c2aee48d44b8e187c08 SHA256 6d3fd92d11ce2a9ce99cfa35990027557d1c70f00a3417639523b6e27f746280
DIST mercury-tests-0.13.1.tar.gz 986644 RMD160 779609ba5c985e562b0962434c9281c07ddaa5cb SHA1 7f08467e6642daa4fce9136e12b4e5ca2ac41b9d SHA256 f6c8250b9996584d3c7cd6cc0609716027b127e54b2aedf5ebfcab98a44159dc
EBUILD mercury-0.12.2-r3.ebuild 3473 RMD160 f5fa94389d94de889efa91efa3aecd96aa5c1d02 SHA1 63e17af97901e6625460a92dfa7a3f5dc8336494 SHA256 9468a2a9bfd91144b4586ceed3ee020e510d2475c0ae716ddf747b2267f07ad6
EBUILD mercury-0.12.2-r4.ebuild 3805 RMD160 18307839b493b1693e290ee09a2f40a9ff9984b1 SHA1 88ca4ad27252d821ac8dee0ec87966c09d542f46 SHA256 9662741a1cf22b630168673ee1b1432b5ade0ce0513e2c5fbd4ee68a65f79317
EBUILD mercury-0.13.1-r1.ebuild 4139 RMD160 fd3f6fcb6629daf99a84031c54b300f69aaaba04 SHA1 2e1e1b48e2d73c72bd85f96fac5ce116e04d8725 SHA256 473554123b1834380e09233be867fdf1e8b52f9ca539b075c7181ef5d2a16fe6
EBUILD mercury-0.13.1-r2.ebuild 3288 RMD160 463c4865f2572caeb4e108f40eab4b3d493866f8 SHA1 b9ac3ff89b33d2d4c517cf188008ee083d5217e2 SHA256 4b7c093ca5cb9ef0f717115b0a24c8ebb29798adadf5f811a02aaba4d466fb6f
EBUILD mercury-0.13.1.ebuild 3339 RMD160 87d85335493e9fd02903defd6414001dc1864e36 SHA1 43ad234914a774ff90b9b84468cbd2f92ed07a6e SHA256 42290613f10e60643bae1bb53bbf1113df985fe1046e9cffdbfe1956fb4ee226
MISC ChangeLog 16742 RMD160 7e2d6ed61cc4fca4afd8203a8273332b65b191e4 SHA1 715a5d2d1f9d16bef4d6f7151796975013dc77bd SHA256 c913cadd1965457cc0b12e1d716d698dd60b2a9db9a9731362965eaba0ef11ad
MISC metadata.xml 247 RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 SHA1 7b705a8a3368abab6ad31ea2fcb5e5db865d92b1 SHA256 2768d0688d443184194068497dcafb2e5d67521980cb46b7e8efc07d3900bcaa

files

mercury-0.12.2-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.12.2-r3.ebuild,v 1.16 2008/05/09 07:28:40 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/old-releases/0.12.2/mercury-compiler-0.12.2.tar.gz
ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/old-releases/0.12.2/mercury-tests-0.12.2.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc ~sparc 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-r3.patch
epatch "${FILESDIR}"/${P}-CFLAGS.patch
epatch "${FILESDIR}"/${P}-MAKEOPTS.patch
epatch "${FILESDIR}"/${P}-bootstrap.patch
epatch "${FILESDIR}"/${P}-multilib.patch
epatch "${FILESDIR}"/${P}-libgrades.patch
epatch "${FILESDIR}"/${P}-parallel-install_grades.patch
epatch "${FILESDIR}"/${P}-deep_profiler.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="--libdir=/usr/$(get_libdir) \
--disable-gcc-back-end \
--enable-aditi-back-end \
--disable-deep-profiler \
--disable-dotnet-grades \
--disable-java-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 \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 1 failed"

einfo "Performing stage 2 bootstrap"
cp "${S}"/compiler/mercury_compile "${S}"/mercury_compile
epatch "${FILESDIR}"/${P}-pic_o-dependencies.patch
econf \
${myconf} \
BOOTSTRAP_STAGE="2" \
|| die "econf stage 2 failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
-j1 depend || die "emake stage 2 depend failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 2 failed"

einfo "Compiling libgrades"
emake \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
libgrades || die "emake libgrades failed"
}

src_test() {
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}" \
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
}

mercury-0.12.2-r4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.12.2-r4.ebuild,v 1.7 2008/05/09 07:28:40 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/old-releases/0.12.2/mercury-compiler-0.12.2.tar.gz
ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/old-releases/0.12.2/mercury-tests-0.12.2.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

IUSE="debug minimal readline threads"

DEPEND="readline? ( sys-libs/readline )"

S="${WORKDIR}"/${MY_P}
TESTDIR="${WORKDIR}"/${PN}-tests-${PV}

src_unpack() {
unpack ${A}

epatch "${FILESDIR}"/${P}-portage-r3.patch
epatch "${FILESDIR}"/${P}-CFLAGS.patch
epatch "${FILESDIR}"/${P}-MAKEOPTS.patch
epatch "${FILESDIR}"/${P}-bootstrap.patch
epatch "${FILESDIR}"/${P}-multilib.patch
epatch "${FILESDIR}"/${P}-libgrades.patch
epatch "${FILESDIR}"/${P}-parallel-install_grades.patch
epatch "${FILESDIR}"/${P}-deep_profiler.patch
epatch "${FILESDIR}"/${P}-docs.patch
epatch "${FILESDIR}"/${P}-tests-dir_test.patch
epatch "${FILESDIR}"/${P}-tests-foreign_decl_line_number.patch
epatch "${FILESDIR}"/${P}-tests-ho_and_type_spec_bug.patch
epatch "${FILESDIR}"/${P}-tests-mdbrc.patch
epatch "${FILESDIR}"/${P}-tests-string_format.patch
epatch "${FILESDIR}"/${P}-tests-tabling_inf_recursion.patch
sed -i -e "s:MDB_DOC:${S}/doc/mdb_doc:" "${TESTDIR}"/mdbrc
}

src_compile() {
local myconf
myconf="--libdir=/usr/$(get_libdir) \
--disable-gcc-back-end \
--enable-aditi-back-end \
--enable-deep-profiler \
--disable-dotnet-grades \
--disable-java-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 \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 1 failed"

einfo "Performing stage 2 bootstrap"
cp "${S}"/compiler/mercury_compile "${S}"/mercury_compile
epatch "${FILESDIR}"/${P}-pic_o-dependencies.patch
epatch "${FILESDIR}"/${P}-profdeep-builtin_throw.patch
econf \
${myconf} \
BOOTSTRAP_STAGE="2" \
|| die "econf stage 2 failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
-j1 depend || die "emake stage 2 depend failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 2 failed"

einfo "Compiling libgrades"
emake \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
libgrades || die "emake libgrades failed"
}

src_test() {
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}" \
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
}

mercury-0.13.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.1-r1.ebuild,v 1.12 2008/05/09 07:28:40 keri Exp $

inherit eutils flag-o-matic

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/mercury-compiler-0.13.1.tar.gz
ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/mercury-tests-0.13.1.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

IUSE="debug minimal readline threads"

DEPEND="readline? ( sys-libs/readline )"

S="${WORKDIR}"/${MY_P}
TESTDIR="${WORKDIR}"/${PN}-tests-${PV}

src_unpack() {
unpack ${A}

epatch "${FILESDIR}"/${P}-portage.patch
epatch "${FILESDIR}"/${P}-CFLAGS.patch
epatch "${FILESDIR}"/${P}-MAKEOPTS.patch
epatch "${FILESDIR}"/${P}-bootstrap.patch
epatch "${FILESDIR}"/${P}-multilib.patch
epatch "${FILESDIR}"/${P}-libgrades.patch
epatch "${FILESDIR}"/${P}-parallel-install_grades.patch
epatch "${FILESDIR}"/${P}-deep_profiler.patch
epatch "${FILESDIR}"/${P}-docs.patch
epatch "${FILESDIR}"/${P}-tests-declarative-throw.patch
epatch "${FILESDIR}"/${P}-tests-dir_test.patch
epatch "${FILESDIR}"/${P}-tests-ho_and_type_spec_bug.patch
epatch "${FILESDIR}"/${P}-tests-mdbrc.patch
epatch "${FILESDIR}"/${P}-tests-string_format.patch
epatch "${FILESDIR}"/${P}-tests-workspace.patch
sed -i -e "s:MDB_DOC:${S}/doc/mdb_doc:" "${TESTDIR}"/mdbrc
}

src_compile() {
strip-flags
append-flags -fno-tree-ter -fno-tree-lrs -fno-cse-follow-jumps -fno-expensive-optimizations -fno-rerun-cse-after-loop

local myconf
myconf="--libdir=/usr/$(get_libdir) \
--disable-gcc-back-end \
--enable-aditi-back-end \
--enable-deep-profiler \
--disable-dotnet-grades \
--disable-java-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 \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 1 failed"

einfo "Performing stage 2 bootstrap"
cp "${S}"/compiler/mercury_compile "${S}"/mercury_compile
epatch "${FILESDIR}"/${P}-profdeep-builtin_throw.patch

econf \
${myconf} \
BOOTSTRAP_STAGE="2" \
|| die "econf stage 2 failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
-j1 depend || die "emake stage 2 depend failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 2 failed"

einfo "Compiling libgrades"
emake \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
libgrades || die "emake libgrades failed"
}

src_test() {
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}"
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws

PATH="${TWS}"/scripts:"${TWS}"/util:"${PATH}" \
TERM="" \
WORKSPACE="${TWS}" \
MERCURY_COMPILER="${TWS}"/compiler/mercury_compile \
MMAKE_DIR="${TWS}"/scripts \
MERCURY_DEBUGGER_INIT="${TESTDIR}"/mdbrc \
MERCURY_SUPPRESS_STACK_TRACE=yes \
GRADE=${TEST_GRADE} \
MERCURY_ALL_LOCAL_C_INCL_DIRS=" -I${TWS}/boehm_gc \
-I${TWS}/boehm_gc/include \
-I${TWS}/runtime \
-I${TWS}/library \
-I${TWS}/mdbcomp \
-I${TWS}/browser \
-I${TWS}/trace" \
mmake || die "mmake test failed"
}

src_install() {
make \
INSTALL_PREFIX="${D}" \
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
}

mercury-0.13.1-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.1-r2.ebuild,v 1.1 2008/08/21 07:01:55 keri Exp $

inherit eutils flag-o-matic

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/mercury-compiler-0.13.1.tar.gz
test? ( ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/mercury-tests-0.13.1.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

IUSE="debug minimal readline test threads"

DEPEND="readline? ( sys-libs/readline )"

S="${WORKDIR}"/${MY_P}
TESTDIR="${WORKDIR}"/${PN}-tests-${PV}

src_unpack() {
unpack ${A}

epatch "${FILESDIR}"/${P}-mmake-params.patch
epatch "${FILESDIR}"/${P}-multilib.patch
epatch "${FILESDIR}"/${P}-libgrades.patch
epatch "${FILESDIR}"/${P}-docs.patch
epatch "${FILESDIR}"/${P}-no-reconf.patch

if use test; then
epatch "${FILESDIR}"/${P}-tests-dir_test.patch
epatch "${FILESDIR}"/${P}-tests-ho_and_type_spec_bug.patch
epatch "${FILESDIR}"/${P}-tests-string_format.patch
epatch "${FILESDIR}"/${P}-tests-workspace.patch
sed -i -e "s:MDB_DOC:${S}/doc/mdb_doc:" "${TESTDIR}"/mdbrc
fi
}

src_compile() {
strip-flags

local myconf
myconf="--libdir=/usr/$(get_libdir) \
--disable-gcc-back-end \
--enable-aditi-back-end \
--disable-deep-profiler \
--disable-dotnet-grades \
--disable-java-grades \
--with-llds-base-grade=none \
--with-default-grade=hlc.gc \
$(use_enable debug debug-grades) \
$(use_enable threads par-grades) \
$(use_enable !minimal most-grades) \
$(use_with readline) \
PACKAGE_VERSION=${PV}"

econf \
${myconf} \
|| die "econf failed"
emake \
EXTRA_MLFLAGS=--no-strip \
|| die "emake failed"

emake \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
libgrades || die "emake libgrades failed"
}

src_test() {
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}"
sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws

PATH="${TWS}"/scripts:"${TWS}"/util:"${PATH}" \
TERM="" \
WORKSPACE="${TWS}" \
MERCURY_COMPILER="${TWS}"/compiler/mercury_compile \
MMAKE_DIR="${TWS}"/scripts \
MERCURY_DEBUGGER_INIT="${TESTDIR}"/mdbrc \
MERCURY_SUPPRESS_STACK_TRACE=yes \
GRADE=${TEST_GRADE} \
MERCURY_ALL_LOCAL_C_INCL_DIRS=" -I${TWS}/boehm_gc \
-I${TWS}/boehm_gc/include \
-I${TWS}/runtime \
-I${TWS}/library \
-I${TWS}/mdbcomp \
-I${TWS}/browser \
-I${TWS}/trace" \
mmake || die "mmake test failed"
}

src_install() {
emake \
INSTALL_PREFIX="${D}" \
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
}

mercury-0.13.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-0.13.1.ebuild,v 1.3 2008/05/09 07:28:40 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/mercury-compiler-0.13.1.tar.gz
ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/mercury-tests-0.13.1.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~sparc ~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}-parallel-install_grades.patch
epatch "${FILESDIR}"/${P}-deep_profiler.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-gcc-back-end \
--enable-aditi-back-end \
--disable-deep-profiler \
--disable-dotnet-grades \
--disable-java-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 \
EXTRA_MLFLAGS=--no-strip \
|| 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 \
-j1 depend || die "emake stage 2 depend failed"
emake \
MERCURY_COMPILER="${S}"/mercury_compile \
EXTRA_MLFLAGS=--no-strip \
|| die "emake stage 2 failed"

einfo "Compiling libgrades"
emake \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
libgrades || die "emake libgrades failed"
}

src_test() {
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
}

metadata.xml




no-herd

keri@gentoo.org
Keri Harris