Version bump.
authorKeri Harris <keri@gentoo.org>
Fri, 5 Jan 2007 20:33:37 +0000 (20:33 +0000)
committerKeri Harris <keri@gentoo.org>
Fri, 5 Jan 2007 20:33:37 +0000 (20:33 +0000)
Package-Manager: portage-2.1.2_rc4-r2

dev-lang/gprolog/ChangeLog
dev-lang/gprolog/Manifest
dev-lang/gprolog/files/digest-gprolog-1.3.0 [new file with mode: 0644]
dev-lang/gprolog/files/gprolog-1.3.0-CFLAGS_MACHINE.patch [new file with mode: 0644]
dev-lang/gprolog/gprolog-1.3.0.ebuild [new file with mode: 0644]

index 9abf5e23092287c58a842ee2321d75dd9232bb63..7f5d50f980ce393215e695738b9155c85a1ccc25 100644 (file)
@@ -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)
 
index d04a2297fc3e695fbbfae22abfac5f155e626aed..fdb815d0afbb078e550821bdb40d33b1055651d3 100644 (file)
@@ -18,6 +18,10 @@ AUX gprolog-1.2.19-test.patch 5854 RMD160 de52a4a16dd156ba6def20690659b3faca34ec
 MD5 4e417d40b2c5ca7ca77116652a1aa8e6 files/gprolog-1.2.19-test.patch 5854
 RMD160 de52a4a16dd156ba6def20690659b3faca34ec88 files/gprolog-1.2.19-test.patch 5854
 SHA256 c9b12586eeefa4f469f782819f8a4f53f1ab157e0af2bd127e236b83f72c9ed8 files/gprolog-1.2.19-test.patch 5854
+AUX gprolog-1.3.0-CFLAGS_MACHINE.patch 1486 RMD160 3f3d2d01ae7c5377f8cd31a0db7ba7b831177ce5 SHA1 64796e5c426db33c8eebd3bfb75d4a9d5b48661c SHA256 47d6b674bdbabd686730c175df440734ae21b925c01597d6d049592e8eeaceee
+MD5 4ba52dba0c129bb80441a13ec27e6d78 files/gprolog-1.3.0-CFLAGS_MACHINE.patch 1486
+RMD160 3f3d2d01ae7c5377f8cd31a0db7ba7b831177ce5 files/gprolog-1.3.0-CFLAGS_MACHINE.patch 1486
+SHA256 47d6b674bdbabd686730c175df440734ae21b925c01597d6d049592e8eeaceee files/gprolog-1.3.0-CFLAGS_MACHINE.patch 1486
 AUX gprolog-1.3.0-TXT_FILES.patch 578 RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 SHA1 ef421e32f4dd3e095e0458abf44494f05529c81c SHA256 41874f3869eb86dc1a723bf820b68c212069ee2332a0adda0a575ba03c037a2b
 MD5 6def7556d8d272b2e6f85494779757cf files/gprolog-1.3.0-TXT_FILES.patch 578
 RMD160 e7891aea4308792c22b10d16398fe0c2bc263cd0 files/gprolog-1.3.0-TXT_FILES.patch 578
@@ -27,19 +31,24 @@ MD5 c01de8d7743f5b3451caffb39e02a765 files/gprolog-1.3.0-test.patch 696
 RMD160 23255c5014b52bd959ed100d773d9220eff24391 files/gprolog-1.3.0-test.patch 696
 SHA256 22027da89cfcdd0a98f6e06c1d87e5c47938199a8da39197c753c66d5e2b8d02 files/gprolog-1.3.0-test.patch 696
 DIST gprolog-1.2.19.tar.gz 2690586 RMD160 07c6c26bf6e2dcbf66bd430f23d4789fd7511227 SHA1 be8ecd506a92728669a1fe8e23fdadecaf8d528d SHA256 d98bb71e6c7cbf33931fa3d5e89c7d99ff36343cd1a1ba9c5977a41a94087296
+DIST gprolog-1.3.0.tar.gz 3016665 RMD160 56a7e6f0dab343d162620bccb177e67bca639797 SHA1 1ad7b7764c8e8d92f4f18619f29155001fe7d78f SHA256 1aca625e06d4cf05f9d6049e33f7a87afff98995670faf8bc3dfd1768244d3a7
 DIST gprolog-20061215.tgz 3021158 RMD160 b2db7014e38559cb5271358810ab6dc59d298c6b SHA1 638ed485050b125ee83c51a93c093950bcde2ce1 SHA256 1b1a00f73f02e864fc4cb7019a9191c4f509f287faa92841ee4ca96f348529dc
 EBUILD gprolog-1.2.19.ebuild 1916 RMD160 e23bb33870c95a2dafd51eb46ce47171d40f57ec SHA1 aaa11cf9141ce7c38a57e2eeee41f302d7f0ef26 SHA256 97d62139d9927bc9b7365b7d5a07f3dd3825ae420177f027e32ea48a1c40c9e1
 MD5 a3aa8a41247ecb7630deed8289773da0 gprolog-1.2.19.ebuild 1916
 RMD160 e23bb33870c95a2dafd51eb46ce47171d40f57ec gprolog-1.2.19.ebuild 1916
 SHA256 97d62139d9927bc9b7365b7d5a07f3dd3825ae420177f027e32ea48a1c40c9e1 gprolog-1.2.19.ebuild 1916
+EBUILD gprolog-1.3.0.ebuild 1453 RMD160 75833c3cbf792a3d98fc3fae56f48c4140d29435 SHA1 ce533d99af82069f8354cb83cc7bf089865f023b SHA256 e9f1e1d76632365ff4b4cafba5d453696ac8266c0f81cd9f12741f37cd0ea702
+MD5 45679b4ff058cb80feb52ff8441f93bc gprolog-1.3.0.ebuild 1453
+RMD160 75833c3cbf792a3d98fc3fae56f48c4140d29435 gprolog-1.3.0.ebuild 1453
+SHA256 e9f1e1d76632365ff4b4cafba5d453696ac8266c0f81cd9f12741f37cd0ea702 gprolog-1.3.0.ebuild 1453
 EBUILD gprolog-1.3.0_pre20061215.ebuild 1428 RMD160 a33121f928e9c8247ea7500b7e05d0e213501d66 SHA1 c067d7a7a2c01e588dbe31b14d40e049eea9bc91 SHA256 4996f4d076c19890e61eaf06b77345388e25a8306c410e9c0840c99475286f3c
 MD5 46ea897687fe23d66a433a39c5231fb5 gprolog-1.3.0_pre20061215.ebuild 1428
 RMD160 a33121f928e9c8247ea7500b7e05d0e213501d66 gprolog-1.3.0_pre20061215.ebuild 1428
 SHA256 4996f4d076c19890e61eaf06b77345388e25a8306c410e9c0840c99475286f3c gprolog-1.3.0_pre20061215.ebuild 1428
-MISC ChangeLog 2793 RMD160 ba7a0ada2aaa5f5f3528bda54bffbd40740fb301 SHA1 effaf06dddd00cc088aaf06bc4e991b01bfb075b SHA256 5f57df3ea895fc0b2c39fa788fde293fe57ff08a531b5d474a724a48f97f57d7
-MD5 75b68ce6e34a09d2bd4f95d1af55e6c8 ChangeLog 2793
-RMD160 ba7a0ada2aaa5f5f3528bda54bffbd40740fb301 ChangeLog 2793
-SHA256 5f57df3ea895fc0b2c39fa788fde293fe57ff08a531b5d474a724a48f97f57d7 ChangeLog 2793
+MISC ChangeLog 2946 RMD160 50f58b6d8ffa695950c4337b0e914b96995f32ed SHA1 a4f1e9148eae27d722999550e61578b06cae8a34 SHA256 afa1e5888c28f7a90595a283fea7e54015a0f577497d1deab588be79c58fff7d
+MD5 bb790600069aff7b2386640d886bb799 ChangeLog 2946
+RMD160 50f58b6d8ffa695950c4337b0e914b96995f32ed ChangeLog 2946
+SHA256 afa1e5888c28f7a90595a283fea7e54015a0f577497d1deab588be79c58fff7d ChangeLog 2946
 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
 MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
@@ -47,6 +56,9 @@ SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba metadata
 MD5 f53fc8069c364320b3fc95801c095489 files/digest-gprolog-1.2.19 247
 RMD160 3fb3f41e210382c88656e318ec5c13569e8cb7e6 files/digest-gprolog-1.2.19 247
 SHA256 21e22269c6f3964ae210849c0a992bca0ea43acaa231fa8c5b8ec46b59eec256 files/digest-gprolog-1.2.19 247
+MD5 0a1fb9180903a3d85907a1c2c94b6c71 files/digest-gprolog-1.3.0 244
+RMD160 fb137977c1ba901375668ab52bb38b6bf4450ec6 files/digest-gprolog-1.3.0 244
+SHA256 77c7fa4c7fdbb5a459bfaf95c4f3ad16fd07227f3dabddb771251805a9fe5cf2 files/digest-gprolog-1.3.0 244
 MD5 d94a3e0a0268ead1e25a9118bd3b84fc files/digest-gprolog-1.3.0_pre20061215 244
 RMD160 09855019e364af55fec1829c6f2774f6ea36d008 files/digest-gprolog-1.3.0_pre20061215 244
 SHA256 8c28a0ee77d68f930ba75a5e904af02fa3fb7ed5228f161b824c7bd7171f82f7 files/digest-gprolog-1.3.0_pre20061215 244
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 (file)
index 0000000..822da9e
--- /dev/null
@@ -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 (file)
index 0000000..b81c103
--- /dev/null
@@ -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 (file)
index 0000000..70e5c92
--- /dev/null
@@ -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
+}