diff options
author | Keri Harris <keri@gentoo.org> | 2007-03-03 19:56:59 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2007-03-03 19:56:59 +0000 |
commit | 3bdc9d2f005aece53e1a40343ca7ed80d10697c0 (patch) | |
tree | 78af6bee8d6b94a209682677fe88c42dcc1385f1 /dev-lang/gprolog | |
parent | stable on amd64; bug 166983 (diff) | |
download | gentoo-2-3bdc9d2f005aece53e1a40343ca7ed80d10697c0.tar.gz gentoo-2-3bdc9d2f005aece53e1a40343ca7ed80d10697c0.tar.bz2 gentoo-2-3bdc9d2f005aece53e1a40343ca7ed80d10697c0.zip |
Fix 64bit trace failure
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r-- | dev-lang/gprolog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 | 3 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch | 17 | ||||
-rw-r--r-- | dev-lang/gprolog/gprolog-1.3.0-r1.ebuild | 55 |
4 files changed, 82 insertions, 1 deletions
diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog index 9886596b3ad5..5903f438c3bb 100644 --- a/dev-lang/gprolog/ChangeLog +++ b/dev-lang/gprolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/gprolog # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.24 2007/02/27 13:02:00 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.25 2007/03/03 19:56:59 keri Exp $ + +*gprolog-1.3.0-r1 (03 Mar 2007) + + 03 Mar 2007; keri <keri@gentoo.org> +files/gprolog-1.3.0-linedit.patch, + +gprolog-1.3.0-r1.ebuild: + Fix 64bit trace failure. 27 Feb 2007; Fabian Groffen <grobian@gentoo.org> gprolog-1.2.19.ebuild, gprolog-1.3.0.ebuild: diff --git a/dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 b/dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 new file mode 100644 index 000000000000..822da9ea0088 --- /dev/null +++ b/dev-lang/gprolog/files/digest-gprolog-1.3.0-r1 @@ -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-linedit.patch b/dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch new file mode 100644 index 000000000000..c3450a32a874 --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.3.0-linedit.patch @@ -0,0 +1,17 @@ +--- gprolog-1.3.0.orig/src/Linedit/Makefile.in 2007-01-04 23:21:50.000000000 +1300 ++++ gprolog-1.3.0/src/Linedit/Makefile.in 2007-03-04 08:33:37.000000000 +1300 +@@ -11,9 +11,14 @@ + .SUFFIXES: + .SUFFIXES: @OBJ_SUFFIX@ .c $(SUFFIXES) + ++all: $(LIBNAME) ++ + .c@OBJ_SUFFIX@: + $(CC) -c $(CFLAGS) $*.c + ++linedit.o: linedit.c ++ $(CC) -c $^ ++ + $(LIBNAME): $(OBJLIB) + rm -f $(LIBNAME) + $(AR_RC)@AR_SEP@$(LIBNAME) $(OBJLIB) diff --git a/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild b/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild new file mode 100644 index 000000000000..1290ac347259 --- /dev/null +++ b/dev-lang/gprolog/gprolog-1.3.0-r1.ebuild @@ -0,0 +1,55 @@ +# 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-r1.ebuild,v 1.1 2007/03/03 19:56:59 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 ~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}-linedit.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 +} |