summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2016-03-05 13:28:02 +0100
committerKeri Harris <keri@gentoo.org>2016-03-05 13:29:11 +0100
commit0e23f453ef07d5988815262d4b51cc761f195ffd (patch)
tree208ae34f4c75c4d7ee2b990afdb363cc0b5e0ec0 /dev-lang
parentkde-base/systemsettings: amd64 stable wrt bug #569742 (diff)
downloadgentoo-0e23f453ef07d5988815262d4b51cc761f195ffd.tar.gz
gentoo-0e23f453ef07d5988815262d4b51cc761f195ffd.tar.bz2
gentoo-0e23f453ef07d5988815262d4b51cc761f195ffd.zip
dev-lang/swi-prolog: bump 7.3 development version
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swi-prolog/Manifest1
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.3.18.ebuild143
2 files changed, 144 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index 013ac0604b5e..85ce577b4b6f 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -4,3 +4,4 @@ DIST swi-prolog-7.2.3-gentoo-patchset-1.tar.gz 1875 SHA256 c11e48122dc468f21e08d
DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5 SHA512 da27a6b171d3b471401f1a91e86a4dbe98973d8a1db8c72aa27e452311d08b893b01a1de8f9f4dafcdac460774b4ea980050256d37284546941e1bdf84f8cd7b WHIRLPOOL de695c8e0317921dcc13898f7a3c88d1012e3f87f633cd25766ca5cb6637b29ca81b9245d015614089291a7d9abd0d8c7109ccae1df9297d78301d241cb258b3
DIST swipl-7.3.16.tar.gz 16214414 SHA256 584dce14e7eea75189c9133bb4eda05d639d6a4562b8cfca738ece25f0c2479e SHA512 5df2bd845087bb3f26e65d06b7db341b14500c7fc69b5c62b3ddd20d146c4280ffc79d5490d18239c0e70dab85e4424d81423deead148d7d1af768ae6800b3b8 WHIRLPOOL d7f45266ac2d1c36d7cd27e0e98f3856697d397060802790b5984c221092a69553a7bbbb761aa482aaba4892542f12c7786965b3db5fa1860f9864a404f0810b
DIST swipl-7.3.17.tar.gz 16231043 SHA256 ec1cdbeee833c0aff59a3e7aa182581d3b44562064cbd0983176aaf0b265652a SHA512 dc32f5bed52f985b81b967b43d132f5a2f79cf15ee04aaf189eae2c5713a24f41a5bcb0ff75710218ddc3d4d125bcd50a8a1255fead6933a5f4ffff0cf538aa9 WHIRLPOOL 2eb10cc73ab911e58bb6b61a4933cee31bdaba4b6172744a2566f46a39559da6d5ac91a0269d70c4850aeec8b39c3e66c738708bace24d080dc4881ec52e9077
+DIST swipl-7.3.18.tar.gz 16283755 SHA256 639d524e83cb6da138b783e855305c1c94d9d4f0fa9047c72e81dbaab11c7ff0 SHA512 055c68ce920d7ff0a2136fd8b2364f444214a700d8cf18acfdb03c8a75fd13b5b51476ce7ea2d6394bf6e0c1b465ba2f4f2ff7ada272716ed28dbc1be94b1dbd WHIRLPOOL 8df22a558fc50f829d722cb7894f07971f8029992d30655d1642aa87f838155babadf07e9c94fa65668ec001783c80f0f2320c0a20b11cb6313f1c508bf550a8
diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.18.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.18.ebuild
new file mode 100644
index 000000000000..f9a7b8b391ad
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-7.3.18.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+
+LICENSE="BSD-2 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 libressl minimal odbc +readline ssl static-libs test uuid 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:0 )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ )
+ java? ( >=virtual/jdk-1.5:= )
+ uuid? ( dev-libs/ossp-uuid )
+ X? (
+ virtual/jpeg:0
+ 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
+ if [[ -d "${WORKDIR}"/${PV} ]] ; then
+ epatch "${WORKDIR}"/${PV}
+ fi
+
+ if ! use uuid; then
+ mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
+ fi
+
+ # 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
+ unset DISPLAY
+ cd "${S}/packages" || die
+ emake \
+ USE_PUBLIC_NETWORK_TESTS=false \
+ USE_ODBC_TESTS=false \
+ check
+ ./report-failed || die
+ 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
+}