summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2015-10-12 18:04:53 +0200
committerKeri Harris <keri@gentoo.org>2015-10-12 18:04:53 +0200
commit05558d4975547c01983029935831e6704ba2bc96 (patch)
tree3d91256388ba74818797666bf734dd47eae64191 /dev-lang/swi-prolog
parentdev-libs/uriparser: 0.8.4 (diff)
downloadgentoo-05558d4975547c01983029935831e6704ba2bc96.tar.gz
gentoo-05558d4975547c01983029935831e6704ba2bc96.tar.bz2
gentoo-05558d4975547c01983029935831e6704ba2bc96.zip
dev-lang/swi-prolog: bump 7.3 development version
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/Manifest2
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.3.8.ebuild130
2 files changed, 132 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index d1731a9e0d0d..23ed6940e615 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -7,6 +7,7 @@ DIST swi-prolog-7.2.3-gentoo-patchset-0.tar.gz 1418 SHA256 b8cca09211889c3fdca47
DIST swi-prolog-7.3.5-gentoo-patchset-0.tar.gz 1418 SHA256 578af69e8219375bd91959d83363d748d10354e9b7f8025d2229e2c894d148ac SHA512 ec16f0fb8f4c04d3c80547dd385fe8dabe98030f017dffd4ebf76ca2fcae8c564ba95ca3706d5bd2df9a00766fcad99dd0797b72af21dba84ad40b030d13c088 WHIRLPOOL 2b0acc37ba216fdc24a43834d0e26c20f5888c51a8d97b4f3379d7906ecc40f63c7dec45a3321430ca12fec195d9e08d7fd6017415ff7845e2299adce9da502f
DIST swi-prolog-7.3.6-gentoo-patchset-0.tar.gz 1426 SHA256 e5de1588a2bbb225e78e4494856d2dc3987592bd76abdbe4c8af0a71458eb1d0 SHA512 e0d05aaabd335be1401d2558f8fe176053449e6b5823bcf407a1073f255c019cc869747e3f02627eab9641aadf0de421a945ad9c3a4edca2263590099f4cc972 WHIRLPOOL a878ac0bacd685657bf526cd6ff0bfbe09cf5ac50499b6e4313f1020ae10d7958502eddd5c84c752fdcf2995106ff635e5c4c0087e10f1c3718d262aecd91b0c
DIST swi-prolog-7.3.7-gentoo-patchset-0.tar.gz 1709 SHA256 81f5f0de37f1fe07c25352caa151b3d13f92265fbbf5476f8713dc349fd214ec SHA512 88eec4a4a709714bbde2cbf457064adb193dc51b4c7f143cb9ab5526b4cdf6a434aa81b79c7e65537381b9a166a84ae5666776f572952bffc1ead894eb8bac32 WHIRLPOOL 00b8c5b637173c2725cae62086b58a2acfd475447232d11fa1d9cf038b0a662bf226fb3a39a3b5bd4d22d8c6b51a67d0fbddb09e88d6f778c84022b6d46be0e7
+DIST swi-prolog-7.3.8-gentoo-patchset-0.tar.gz 1430 SHA256 e927f0efce19b949fa9f2d4f5ad53488eafdd66891cd71f5051bed997491bb7d SHA512 989c7d893cc6213f76a9eb5422662dabd9d63489b0a8924a37e3293323d81215ea13510a2fb2a37f07fdee2417aafbd8e07d1f16b2d974da724aebdbb371d47a WHIRLPOOL b24e68a2e600dbf445202228a411077be3e75c838599a375c85c9185628d9109971c3b43622fbe260688961d52bf30d4a490e5961a43d2378132d339c8961420
DIST swipl-7.2.0.tar.gz 16211509 SHA256 801423b8293d08b96b575ffa96d91cce3acf2473f04c23d58657dd668287f8cb SHA512 94c89e7f76ff545821e2e984a630d37863f305fe71f0cc79a3fd4e41e1b69f4a74f924a4f429d054480b2dd030ceba5fc65fefb75933cf19aeb18c0a03863bf6 WHIRLPOOL 815d1a900a501ad8d9cb843bd42bf1756f1d5c70d994637960c7849140b3ab414b26da06c85998870027ec27678050a68d3480bb81ed23978be9e10e7920e631
DIST swipl-7.2.1.tar.gz 16175699 SHA256 f81bd713c5a7544f9b2af694cc0e74aaaf7a70e0a67203caab6ee9493e1dd01f SHA512 514d89963a7b6cae2e33cb01a2b67cb7ec6fd0dbfa7010608b87a3207626f04cd57ce71f816d10be9ac0266d0f2d243f773fc0bd46b37caf04fc2435748d96be WHIRLPOOL ba396ec4465d9ebdf14efea44fa958d655c87b14af201421a6ac88db17bb46391129f0a9ce9a29229457b0f940892a126f6ee55285dbf0ba9395ed01066585ff
DIST swipl-7.2.2.tar.gz 16179490 SHA256 c137bbe1d652a6aaa003278045e592637cd9fd5f1d52b05f9f0751bfd9449c8d SHA512 b25ed01e49628d9b463acd0e3687eaef0e3f74e8f834a1442e66913fabf948ae6f6d662c21e3cbb1ca5793ceb96701be31c3b1d2d3a0a9694ea4706f9a64939e WHIRLPOOL 1309284a4d610cb37196aca678d4823bba384ba04a84ef1212c3580bad40da3359fbe4035a13cbfdd21a4eca75df2b8a3c398a1da9061a71ba8da8276c2b17dd
@@ -14,3 +15,4 @@ DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a68
DIST swipl-7.3.5.tar.gz 16185426 SHA256 e8dd7cf6077dabc6cbefe2087fec36f5219d84ac15c9b8ee89db4dcc17edd91f SHA512 0da707a44907cc152a42f45eb9370622826c3b840c774a976716ae032d1f411b0ac783e28eb9789b55d069921f5186c901b05686f14122cd6741972d4754fdde WHIRLPOOL 6b9e2822d91021c3223ddd0c21ed0c8621df405314c8b995d88a6f235cfc25633eb34605c61f1fd10ed2b29c44a6929b6503cc4d09c72c1fcd65dd41f77ecaa2
DIST swipl-7.3.6.tar.gz 16188830 SHA256 cb3e0ebccfeda043e32a3706aa0304c9ecdef9da0bf762f27ad9acbabcdb3a08 SHA512 9036edd5704fcd40c2c50a7fa93871bea44ffc98a3707bed8c0b0355648630ffdfeea6ed33a73057eb0c741fb73db2daf24d64f471566e3ca35a24c2c6a1b996 WHIRLPOOL efa48bfbce96ad3907f686a13ca159322cc0554e7c20f56c54250ea774f75a4937d230bb365252242f76bb692c35b2e7a2fa27fd9caa6a75f8bda4b42a51538d
DIST swipl-7.3.7.tar.gz 16065373 SHA256 db291d45753f6fc1af5f0ff174d1770ce4e0455d2eb1f6be7ac3cac263571cc7 SHA512 93987a45cb34df6da1415845a4f79004e9e64a8fe4552f3b74ebb4dc509329a0850000c693090f452541ca1bd9187f7c40b7dc6b0159f650e2bc769bd7d48d21 WHIRLPOOL 277725e359ea29faa8c83e1d9089fdcf9483d20b866a4b36bcc19a09c63bc24379352751524d35c0758e9355c20b53a45180bd4bcec4352ededf2c9ab4c836ee
+DIST swipl-7.3.8.tar.gz 16075095 SHA256 c7a31eac0020831cddd31045bc12dca10b437b737545a8a42fa193a3937ae882 SHA512 98a144e1a22c4b3bc5c0e4865b19930956aa1b60336f4da2538340502b5b27e327db8a4bc498c64ed3b63510c0d5c29ccf51843da70fb787ae1367a312a2f543 WHIRLPOOL 5b23f3f674745297377cc63960899841b73e57de48d24fd1e3de81d34b6db53e2fefd53efb7fd8ab4850d359cf12584a6c2686ead952f55f72fc62bdf223381b
diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.8.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.8.ebuild
new file mode 100644
index 000000000000..c5eb39df2369
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-7.3.8.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils flag-o-matic java-pkg-opt-2 multilib
+
+PATCHSET_VER="0"
+
+DESCRIPTION="free, small, and standard compliant Prolog compiler"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz
+ mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="archive berkdb debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
+
+RDEPEND="sys-libs/ncurses
+ archive? ( app-arch/libarchive )
+ berkdb? ( >=sys-libs/db-4 )
+ zlib? ( sys-libs/zlib )
+ odbc? ( dev-db/unixODBC )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
+ java? ( >=virtual/jdk-1.5 )
+ X? (
+ virtual/jpeg
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXt
+ x11-libs/libICE
+ x11-libs/libSM )"
+
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xproto )
+ java? ( test? ( =dev-java/junit-3.8* ) )"
+
+S="${WORKDIR}/swipl-${PV}"
+
+src_prepare() {
+ EPATCH_FORCE=yes
+ EPATCH_SUFFIX=patch
+ epatch "${WORKDIR}"/${PV}
+
+ # OSX/Intel ld doesn't like an archive without table of contents
+ sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ use ppc && append-flags -mno-altivec
+ use hardened && append-flags -fno-unit-at-a-time
+ use debug && append-flags -DO_DEBUG
+
+ # ARCH is used in the configure script to figure out host and target
+ # specific stuff
+ export ARCH=${CHOST}
+
+ export CC_FOR_BUILD=$(tc-getBUILD_CC)
+
+ cd "${S}"/src || die
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_enable gmp) \
+ $(use_enable readline) \
+ $(use_enable static-libs static) \
+ --enable-shared \
+ --enable-custom-flags COFLAGS="${CFLAGS}"
+
+ if ! use minimal ; then
+ local jpltestconf
+ if use java && use test ; then
+ jpltestconf="--with-junit=$(java-config --classpath junit)"
+ fi
+
+ cd "${S}/packages" || die
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_with archive) \
+ $(use_with berkdb bdb ) \
+ $(use_with java jpl) \
+ ${jpltestconf} \
+ $(use_with odbc) \
+ $(use_with ssl) \
+ $(use_with X xpce) \
+ $(use_with zlib) \
+ COFLAGS='"${CFLAGS}"'
+ fi
+}
+
+src_compile() {
+ cd "${S}"/src || die
+ emake
+
+ if ! use minimal ; then
+ cd "${S}/packages" || die
+ emake
+ ./report-failed || die "Cannot report failed packages"
+ fi
+}
+
+src_test() {
+ cd "${S}/src" || die
+ emake check
+
+ if ! use minimal ; then
+ cd "${S}/packages" || die
+ emake check
+ ./report-failed || die "Cannot report failed packages"
+ fi
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+
+ if ! use minimal ; then
+ emake -C packages DESTDIR="${D}" install
+ if use doc ; then
+ emake -C packages DESTDIR="${D}" html-install
+ fi
+ ./packages/report-failed || die "Cannot report failed packages"
+ fi
+
+ dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
+}