diff options
author | Keri Harris <keri@gentoo.org> | 2006-05-23 11:24:23 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-05-23 11:24:23 +0000 |
commit | 696ff911022e53533544a3a0baa29ff15e6f4628 (patch) | |
tree | a32f8fe4e1d25db835941e867cd02a49c8d64c64 /dev-lang | |
parent | Add ~x86-fbsd keyword. Change strategy for non-GNU userlands, instead of pref... (diff) | |
download | gentoo-2-696ff911022e53533544a3a0baa29ff15e6f4628.tar.gz gentoo-2-696ff911022e53533544a3a0baa29ff15e6f4628.tar.bz2 gentoo-2-696ff911022e53533544a3a0baa29ff15e6f4628.zip |
Build a threaded prolog engine for JPL. Reported by Moises Braga Ribeiro in #133997
(Portage version: 2.1_rc1-r3)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild | 14 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild | 14 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild | 14 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild | 14 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild | 14 |
6 files changed, 62 insertions, 16 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 575614d5f1b7..301af82928c2 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.11 2006/04/29 16:48:42 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.12 2006/05/23 11:24:23 keri Exp $ + + 23 May 2006; Keri Harris <keri@gentoo.org> swi-prolog-5.6.8.ebuild, + swi-prolog-5.6.9.ebuild, swi-prolog-5.6.10.ebuild, + swi-prolog-5.6.11.ebuild, swi-prolog-5.6.12.ebuild: + Build a threaded prolog engine for JPL. Reported by Moisés Braga Ribeiro + <moisesbr@gmail.com> in #133997 29 Apr 2006; <nixnut@gentoo.org> swi-prolog-5.6.8.ebuild: Stable on ppc. Bug #130895 diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild index 60a61d063118..644d445e9cb6 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild,v 1.2 2006/04/19 07:29:27 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.10.ebuild,v 1.3 2006/05/23 11:24:23 keri Exp $ inherit autotools eutils flag-o-matic @@ -56,12 +56,20 @@ src_compile() { append-flags -fno-strict-aliasing 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 \ + ${threadconf} \ $(use_enable gmp) \ $(use_enable readline) \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --disable-custom-flags \ || die "econf failed" emake -j1 || die "emake failed" @@ -77,8 +85,8 @@ src_compile() { cd "${S}/packages" econf \ + ${threadconf} \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --without-C-sicstus \ --with-chr \ --with-clib \ diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild index d31b8243abfb..8a43ec955681 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild,v 1.2 2006/04/19 07:29:27 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.11.ebuild,v 1.3 2006/05/23 11:24:23 keri Exp $ inherit autotools eutils flag-o-matic @@ -56,12 +56,20 @@ src_compile() { append-flags -fno-strict-aliasing 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 \ + ${threadconf} \ $(use_enable gmp) \ $(use_enable readline) \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --disable-custom-flags \ || die "econf failed" emake -j1 || die "emake failed" @@ -77,8 +85,8 @@ src_compile() { cd "${S}/packages" econf \ + ${threadconf} \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --without-C-sicstus \ --with-chr \ --with-clib \ diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild index 52cdbcf0a4a0..cfe21d5eea86 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild,v 1.2 2006/04/19 07:29:27 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.12.ebuild,v 1.3 2006/05/23 11:24:23 keri Exp $ inherit autotools eutils flag-o-matic @@ -56,12 +56,20 @@ src_compile() { append-flags -fno-strict-aliasing 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 \ + ${threadconf} \ $(use_enable gmp) \ $(use_enable readline) \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --disable-custom-flags \ || die "econf failed" emake -j1 || die "emake failed" @@ -77,8 +85,8 @@ src_compile() { cd "${S}/packages" econf \ + ${threadconf} \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --without-C-sicstus \ --with-chr \ --with-clib \ diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild index b02f0d2ad67b..5f922b8b4240 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild,v 1.5 2006/04/29 16:48:42 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.8.ebuild,v 1.6 2006/05/23 11:24:23 keri Exp $ inherit autotools eutils flag-o-matic @@ -56,12 +56,20 @@ src_compile() { append-flags -fno-strict-aliasing 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 \ + ${threadconf} \ $(use_enable gmp) \ $(use_enable readline) \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --disable-custom-flags \ || die "econf failed" emake -j1 || die "emake failed" @@ -77,8 +85,8 @@ src_compile() { cd "${S}/packages" econf \ + ${threadconf} \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --without-C-sicstus \ --with-chr \ --with-clib \ diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild index 5b06ba43ad97..5d14120c5af7 100644 --- a/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild,v 1.2 2006/04/19 07:29:27 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.9.ebuild,v 1.3 2006/05/23 11:24:23 keri Exp $ inherit autotools eutils flag-o-matic @@ -56,12 +56,20 @@ src_compile() { append-flags -fno-strict-aliasing 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 \ + ${threadconf} \ $(use_enable gmp) \ $(use_enable readline) \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --disable-custom-flags \ || die "econf failed" emake -j1 || die "emake failed" @@ -77,8 +85,8 @@ src_compile() { cd "${S}/packages" econf \ + ${threadconf} \ $(use_enable !static shared) \ - $(use_enable threads mt) \ --without-C-sicstus \ --with-chr \ --with-clib \ |