diff options
author | Keri Harris <keri@gentoo.org> | 2009-02-12 05:53:26 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2009-02-12 05:53:26 +0000 |
commit | 0d56a449df463a252950116f29aed183bbc3ccac (patch) | |
tree | 7fd36cd8fe99c31b45fd493ab2a9129f31435b34 /dev-lang | |
parent | Fix building w/ gcc-4.3 for bug #251449. Thanks to Gene Seto for the (diff) | |
download | historical-0d56a449df463a252950116f29aed183bbc3ccac.tar.gz historical-0d56a449df463a252950116f29aed183bbc3ccac.tar.bz2 historical-0d56a449df463a252950116f29aed183bbc3ccac.zip |
Version bump.
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gprolog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/gprolog/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.3.1-CFLAGS_MACHINE.patch | 40 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.3.1-TXT_FILES.patch | 10 | ||||
-rw-r--r-- | dev-lang/gprolog/gprolog-1.3.1.ebuild | 55 |
5 files changed, 117 insertions, 2 deletions
diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog index e6c8b31e7859..da0484cecad2 100644 --- a/dev-lang/gprolog/ChangeLog +++ b/dev-lang/gprolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/gprolog # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.36 2009/01/18 21:36:02 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.37 2009/02/12 05:53:26 keri Exp $ + +*gprolog-1.3.1 (12 Feb 2009) + + 12 Feb 2009; <keri@gentoo.org> +files/gprolog-1.3.1-CFLAGS_MACHINE.patch, + +files/gprolog-1.3.1-TXT_FILES.patch, +gprolog-1.3.1.ebuild: + Version bump. 18 Jan 2009; <keri@gentoo.org> -gprolog-1.3.0-r1.ebuild: Remove old version diff --git a/dev-lang/gprolog/Manifest b/dev-lang/gprolog/Manifest index 18098332ad19..f43ecdeba75d 100644 --- a/dev-lang/gprolog/Manifest +++ b/dev-lang/gprolog/Manifest @@ -2,7 +2,11 @@ AUX gprolog-1.3.0-CFLAGS_MACHINE.patch 1486 RMD160 3f3d2d01ae7c5377f8cd31a0db7ba AUX gprolog-1.3.0-TXT_FILES.patch 578 RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 SHA1 ef421e32f4dd3e095e0458abf44494f05529c81c SHA256 41874f3869eb86dc1a723bf820b68c212069ee2332a0adda0a575ba03c037a2b AUX gprolog-1.3.0-linedit.patch 417 RMD160 de3127144ff9e6f4c8c079ea3b75dc5d49b2303d SHA1 74336dcff636947ca05c325853ef48986830426a SHA256 3eed2e37df9e18a33f27f747d59db162774a6568cf6aeccdbf1c5716dcab4725 AUX gprolog-1.3.0-test.patch 696 RMD160 23255c5014b52bd959ed100d773d9220eff24391 SHA1 acbe4780303bb83a51330be53e5660bd212f87e6 SHA256 22027da89cfcdd0a98f6e06c1d87e5c47938199a8da39197c753c66d5e2b8d02 +AUX gprolog-1.3.1-CFLAGS_MACHINE.patch 1591 RMD160 493b222a74e4449a2eda9cccd4d3b93c9b268b36 SHA1 a12a8614fff1c4b1f19720791961865592e6b739 SHA256 a77096fbba28370c6ac6e7ca40b0e33ec7e74b01c18b4389cd91ffcae5bd6ed6 +AUX gprolog-1.3.1-TXT_FILES.patch 578 RMD160 08ae92458cae6e6b1044a46ce6bebc0e273f2c58 SHA1 8c7ebaa819b1d6b6a0dd706969bab0e84fd2a988 SHA256 5d949c1d6a1584b85d0328ac2186f6abbe9d82ef22ba1ac6988315528a8f68c3 DIST gprolog-1.3.0.tar.gz 3016665 RMD160 56a7e6f0dab343d162620bccb177e67bca639797 SHA1 1ad7b7764c8e8d92f4f18619f29155001fe7d78f SHA256 1aca625e06d4cf05f9d6049e33f7a87afff98995670faf8bc3dfd1768244d3a7 +DIST gprolog-1.3.1.tar.gz 2949369 RMD160 f942f82e4034a59fd0bc5276542872375d7dc801 SHA1 d2912847725a0d917c6937c9402bcc21072b1a73 SHA256 3c33159b9d234647a06e78870c14a0518d6a2a5f85db906360777feb3d98c316 EBUILD gprolog-1.3.0-r2.ebuild 1546 RMD160 4a4d188d55526544efa5112b321456089384a60e SHA1 71b7232920be6686cfaec5e6ec888d3a4901b96d SHA256 94fceab58083430c4d18312aafd9ddb0b0c903182a5760338d0b4ead3acd2bfe -MISC ChangeLog 4948 RMD160 f170580589ff58f8c0253e83a1a57d3c5f0bbecf SHA1 1f8be69eab5b6c62db6175ae0aab682ac3a301e5 SHA256 75158e1ca7198d957a84bda515e7911b087b76ab8c1585d8c8e382b4dbb47d6f +EBUILD gprolog-1.3.1.ebuild 1439 RMD160 c0beeab14eb9306cc0ab8e6f36966f359b01d6e5 SHA1 2d2d8d872ddfe27868c8c965f2db72a7f8e70345 SHA256 7afa647645b548ac6cac13a3ab9fa68b4aabe42a57035038ecad8c7946336120 +MISC ChangeLog 5134 RMD160 b6d327100e5b44d0a84c103968dd684ae2abca92 SHA1 a4fded092e6ddd358a5655bde7347954a7ae12bd SHA256 721d7b70f3d7452ad76d9635e7afb0911573bf48ba6f9d76797d745c664b475d MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba diff --git a/dev-lang/gprolog/files/gprolog-1.3.1-CFLAGS_MACHINE.patch b/dev-lang/gprolog/files/gprolog-1.3.1-CFLAGS_MACHINE.patch new file mode 100644 index 000000000000..8cfc4008b34a --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.3.1-CFLAGS_MACHINE.patch @@ -0,0 +1,40 @@ +--- gprolog-1.3.1.orig/src/configure 2009-02-11 04:16:50.000000000 +1300 ++++ gprolog-1.3.1/src/configure 2009-02-12 18:33:38.000000000 +1300 +@@ -5510,7 +5510,7 @@ + # * C compiler flags * + # ******************** + +-CFLAGS_MACHINE= ++#CFLAGS_MACHINE= + CFLAGS_PREFIX_REG= + + { echo "$as_me:$LINENO: checking for inline" >&5 +@@ -5612,17 +5612,17 @@ + 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';; +- x86_64*solaris*) CFLAGS_MACHINE='-m64';; +- 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';; ++# x86_64*solaris*) CFLAGS_MACHINE='-m64';; ++# esac + + case "$host" in + i*86*) if test "$USE_EBP" != no; then diff --git a/dev-lang/gprolog/files/gprolog-1.3.1-TXT_FILES.patch b/dev-lang/gprolog/files/gprolog-1.3.1-TXT_FILES.patch new file mode 100644 index 000000000000..93e6569fa570 --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.3.1-TXT_FILES.patch @@ -0,0 +1,10 @@ +--- gprolog-1.3.1.orig/src/Makefile.in 2009-01-24 00:15:03.000000000 +1300 ++++ gprolog-1.3.1/src/Makefile.in 2009-02-12 18:38:31.000000000 +1300 +@@ -57,7 +57,6 @@ + install-system: + ./mkinstalldirs $(INSTALL_DIR) $(INSTALL_DIR)/bin \ + $(INSTALL_DIR)/include $(INSTALL_DIR)/lib +- for i in $(TXT_FILES); do $(INSTALL_DATA) ../$$i $(INSTALL_DIR); done + for i in $(BIN_FILES); do $(INSTALL_PROGRAM) */$$i $(INSTALL_DIR)/bin; done + for i in $(OBJ_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done + for i in $(LIB_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done diff --git a/dev-lang/gprolog/gprolog-1.3.1.ebuild b/dev-lang/gprolog/gprolog-1.3.1.ebuild new file mode 100644 index 000000000000..e0ded5d6e770 --- /dev/null +++ b/dev-lang/gprolog/gprolog-1.3.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.3.1.ebuild,v 1.1 2009/02/12 05:53:26 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/${P}.tar.gz" +S="${WORKDIR}"/${P}/src + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc examples" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-CFLAGS_MACHINE.patch + epatch "${FILESDIR}"/${P}-TXT_FILES.patch +} + +src_compile() { + CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`" + + use debug && append-flags -DDEBUG + + 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 +} |