summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-28 03:27:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-28 03:27:25 +0000
commit4cb4821fccc57c4d2daf390d004d7800a8097e9d (patch)
tree357198160c6762a8c938b79238dd6dd89b73ef4f /dev-lang
parentFix display bug in starting some processes #110420 by Kir Kolyshkin. (diff)
downloadgentoo-2-4cb4821fccc57c4d2daf390d004d7800a8097e9d.tar.gz
gentoo-2-4cb4821fccc57c4d2daf390d004d7800a8097e9d.tar.bz2
gentoo-2-4cb4821fccc57c4d2daf390d004d7800a8097e9d.zip
Version bump with more package support.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swi-prolog-lite/ChangeLog9
-rw-r--r--dev-lang/swi-prolog-lite/files/digest-swi-prolog-lite-5.5.361
-rw-r--r--dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.30-runtime-build.patch18
-rw-r--r--dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.36.ebuild71
4 files changed, 98 insertions, 1 deletions
diff --git a/dev-lang/swi-prolog-lite/ChangeLog b/dev-lang/swi-prolog-lite/ChangeLog
index eca7875c232b..c6371ff082eb 100644
--- a/dev-lang/swi-prolog-lite/ChangeLog
+++ b/dev-lang/swi-prolog-lite/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/swi-prolog-lite
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/ChangeLog,v 1.20 2005/10/08 21:45:29 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/ChangeLog,v 1.21 2005/10/28 03:27:25 vapier Exp $
+
+*swi-prolog-lite-5.5.36 (28 Oct 2005)
+
+ 28 Oct 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/swi-prolog-lite-5.5.30-runtime-build.patch,
+ +swi-prolog-lite-5.5.36.ebuild:
+ Version bump with more package support.
08 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
swi-prolog-lite-5.4.7.ebuild:
diff --git a/dev-lang/swi-prolog-lite/files/digest-swi-prolog-lite-5.5.36 b/dev-lang/swi-prolog-lite/files/digest-swi-prolog-lite-5.5.36
new file mode 100644
index 000000000000..7c836a5f56e9
--- /dev/null
+++ b/dev-lang/swi-prolog-lite/files/digest-swi-prolog-lite-5.5.36
@@ -0,0 +1 @@
+MD5 8bba7daab3d402a0d21d23e6cd15f045 pl-5.5.36.tar.gz 8534119
diff --git a/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.30-runtime-build.patch b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.30-runtime-build.patch
new file mode 100644
index 000000000000..aaaec0982f89
--- /dev/null
+++ b/dev-lang/swi-prolog-lite/files/swi-prolog-lite-5.5.30-runtime-build.patch
@@ -0,0 +1,18 @@
+--- src/pl.sh.in
++++ src/pl.sh.in
+@@ -5,7 +5,7 @@
+
+ srcdir=@srcdir@
+-lib=$srcdir/../lib/@ARCH@
+-bdir=$srcdir/../@BUILDDIR@
++lib=$srcdir/../lib/@RT@@ARCH@
++bdir=@builddir@
+
+ if [ "x$@DLLIBVAR@" = "x" ]; then
+ @DLLIBVAR@=$lib
+@@ -15,4 +15,4 @@
+
+ export @DLLIBVAR@
+
+-$bdir/@PL@ "$@"
++"$bdir"/@PL@@RT@ "$@"
diff --git a/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.36.ebuild b/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.36.ebuild
new file mode 100644
index 000000000000..b89658e684c2
--- /dev/null
+++ b/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.36.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.36.ebuild,v 1.1 2005/10/28 03:27:25 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="free, small, and standard compliant Prolog compiler"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/BETA/pl-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="berkdb gmp odbc readline ssl static tetex threads X"
+
+DEPEND="sys-libs/ncurses
+ odbc? ( dev-db/unixODBC )
+ berkdb? ( sys-libs/db )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
+ X? ( virtual/x11 )"
+
+S=${WORKDIR}/pl-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"/src
+ epatch "${FILESDIR}"/${PN}-5.5.30-runtime-build.patch
+ sed -i \
+ -e '/COFLAGS=/s:=.*:=$CFLAGS:' \
+ -e '/LDFLAGS=/s:-O3::' \
+ configure || die
+}
+
+src_compile() {
+ cd src
+ econf \
+ $(use_enable gmp) \
+ $(use_enable readline) \
+ $(use_enable !static shared) \
+ $(use_enable threads mt) \
+ || die "econf dev failed"
+ emake || die "make dev failed"
+
+ cd ../packages
+ econf \
+ --with-C-sicstus \
+ --with-chr \
+ --with-clib \
+ --with-clpr \
+ --with-cpp \
+ $(use_with berkdb db) \
+ --with-http \
+ --without-jasmine \
+ --with-jpl \
+ $(use_with tetex ltx2htm) \
+ $(use_with gmp mp) \
+ $(use_with odbc) \
+ $(use_with ssl) \
+ --with-table \
+ $(use_with X xpce) \
+ || die
+ make || die
+}
+
+src_install() {
+ make -C src DESTDIR="${D}" install || die "install src failed"
+ make -C packages DESTDIR="${D}" install || die "install packages failed"
+ dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README VERSION
+}