summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-01-05 20:33:37 +0000
committerKeri Harris <keri@gentoo.org>2007-01-05 20:33:37 +0000
commit9020bfbb215ed66b74a74131b6d3ecc48541da41 (patch)
tree0fc865a85ef50fe2f2b75c13bc0036f048897cc6 /dev-lang/gprolog
parentSet WANT_AUTOCONF and WANT_AUTOMAKE (diff)
downloadgentoo-2-9020bfbb215ed66b74a74131b6d3ecc48541da41.tar.gz
gentoo-2-9020bfbb215ed66b74a74131b6d3ecc48541da41.tar.bz2
gentoo-2-9020bfbb215ed66b74a74131b6d3ecc48541da41.zip
Version bump.
(Portage version: 2.1.2_rc4-r2)
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r--dev-lang/gprolog/ChangeLog10
-rw-r--r--dev-lang/gprolog/files/digest-gprolog-1.3.03
-rw-r--r--dev-lang/gprolog/files/gprolog-1.3.0-CFLAGS_MACHINE.patch38
-rw-r--r--dev-lang/gprolog/gprolog-1.3.0.ebuild54
4 files changed, 103 insertions, 2 deletions
diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog
index 9abf5e230922..7f5d50f980ce 100644
--- a/dev-lang/gprolog/ChangeLog
+++ b/dev-lang/gprolog/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gprolog
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.19 2006/12/31 06:44:45 keri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.20 2007/01/05 20:33:37 keri Exp $
+
+*gprolog-1.3.0 (05 Jan 2007)
+
+ 05 Jan 2007; keri <keri@gentoo.org>
+ +files/gprolog-1.3.0-CFLAGS_MACHINE.patch, +gprolog-1.3.0.ebuild:
+ Version bump.
*gprolog-1.3.0_pre20061215 (31 Dec 2006)
diff --git a/dev-lang/gprolog/files/digest-gprolog-1.3.0 b/dev-lang/gprolog/files/digest-gprolog-1.3.0
new file mode 100644
index 000000000000..822da9ea0088
--- /dev/null
+++ b/dev-lang/gprolog/files/digest-gprolog-1.3.0
@@ -0,0 +1,3 @@
+MD5 950736db26248f6ed942191ec6c441e9 gprolog-1.3.0.tar.gz 3016665
+RMD160 56a7e6f0dab343d162620bccb177e67bca639797 gprolog-1.3.0.tar.gz 3016665
+SHA256 1aca625e06d4cf05f9d6049e33f7a87afff98995670faf8bc3dfd1768244d3a7 gprolog-1.3.0.tar.gz 3016665
diff --git a/dev-lang/gprolog/files/gprolog-1.3.0-CFLAGS_MACHINE.patch b/dev-lang/gprolog/files/gprolog-1.3.0-CFLAGS_MACHINE.patch
new file mode 100644
index 000000000000..b81c103ffb8b
--- /dev/null
+++ b/dev-lang/gprolog/files/gprolog-1.3.0-CFLAGS_MACHINE.patch
@@ -0,0 +1,38 @@
+--- gprolog-1.3.0.orig/src/configure 2007-01-06 01:13:28.000000000 +1300
++++ gprolog-1.3.0/src/configure 2007-01-06 09:15:40.000000000 +1300
+@@ -5425,7 +5425,7 @@
+ # * C compiler flags *
+ # ********************
+
+-CFLAGS_MACHINE=
++#CFLAGS_MACHINE=
+ CFLAGS_PREFIX_REG=
+
+ { echo "$as_me:$LINENO: checking for inline" >&5
+@@ -5527,16 +5527,16 @@
+ CFLAGS_PREFIX_REG='-ffixed-%s'
+ CFLAGS_UNSIGNED_CHAR='-funsigned-char'
+
+- CFLAGS_MACHINE=
+- case "$host" in
+- mips*irix*) CFLAGS_MACHINE='-march=4000';;
+- *sparc*sunos4.1.3) CFLAGS_MACHINE='-msupersparc';;
+- *sparc*solaris) CFLAGS_MACHINE='-msupersparc';;
+- i686*) CFLAGS_MACHINE='-march=pentiumpro';;
+- i586*) CFLAGS_MACHINE='-march=pentium';;
+- i*86*) CFLAGS_MACHINE='-march=i486';;
+- powerpc*darwin*) CFLAGS_MACHINE='-mpowerpc -no-cpp-precomp';;
+- esac
++# CFLAGS_MACHINE=
++# case "$host" in
++# mips*irix*) CFLAGS_MACHINE='-march=4000';;
++# *sparc*sunos4.1.3) CFLAGS_MACHINE='-msupersparc';;
++# *sparc*solaris) CFLAGS_MACHINE='-msupersparc';;
++# i686*) CFLAGS_MACHINE='-march=pentiumpro';;
++# i586*) CFLAGS_MACHINE='-march=pentium';;
++# i*86*) CFLAGS_MACHINE='-march=i486';;
++# powerpc*darwin*) CFLAGS_MACHINE='-mpowerpc -no-cpp-precomp';;
++# esac
+
+ case "$host" in
+ i*86*) if test "$USE_EBP" != no; then
diff --git a/dev-lang/gprolog/gprolog-1.3.0.ebuild b/dev-lang/gprolog/gprolog-1.3.0.ebuild
new file mode 100644
index 000000000000..70e5c925c7e3
--- /dev/null
+++ b/dev-lang/gprolog/gprolog-1.3.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.3.0.ebuild,v 1.1 2007/01/05 20:33:37 keri Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD)"
+HOMEPAGE="http://www.gprolog.org/"
+SRC_URI="ftp://ftp.gnu.org/gnu/gprolog/gprolog-1.3.0.tar.gz"
+S=${WORKDIR}/${P}/src
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
+IUSE="doc examples"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-CFLAGS_MACHINE.patch
+ epatch "${FILESDIR}"/${P}-TXT_FILES.patch
+ epatch "${FILESDIR}"/${P}-test.patch
+}
+
+src_compile() {
+ CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`"
+
+ econf \
+ CFLAGS_MACHINE="${CFLAGS_MACHINE}" \
+ --with-c-flags="${CFLAGS}" \
+ --with-install-dir="${D}"/usr \
+ --with-doc-dir="${D}"/usr/share/doc/${PF} \
+ --with-html-dir="${D}"/usr/share/doc/${PF}/html \
+ --with-examples-dir="${D}"/usr/share/doc/${PF}/examples \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install-system || die "make install-system failed"
+
+ if use doc; then
+ make install-html || die "make install-html failed"
+ fi
+ if use examples; then
+ make install-examples || die "make install-examples failed"
+ fi
+
+ cd "${S}"/..
+ dodoc ChangeLog NEWS PROBLEMS README VERSION
+}