diff options
author | Keri Harris <keri@gentoo.org> | 2016-09-19 12:30:42 +0200 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2016-09-19 12:30:42 +0200 |
commit | 355eed0126e382c3c8e3646abaecf36e85e299df (patch) | |
tree | 788a4826fc30a3c13baae2ae1ddfaca979c5cc76 /dev-lang | |
parent | app-doc/linuxfromscratch: Removed old. (diff) | |
download | gentoo-355eed0126e382c3c8e3646abaecf36e85e299df.tar.gz gentoo-355eed0126e382c3c8e3646abaecf36e85e299df.tar.bz2 gentoo-355eed0126e382c3c8e3646abaecf36e85e299df.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/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-7.3.26.ebuild | 143 |
2 files changed, 144 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index f36dad2181f5..49113c8e629e 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -5,3 +5,4 @@ DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a68 DIST swipl-7.3.23.tar.gz 16393156 SHA256 ea6d2f8f0ec5fe8c1492f6790c8697b661d14e7b1e7a976c5d5d1c7d65a284d4 SHA512 1a79e0066dbcdaf49c183ca4344ffd1a5ab4765cc999ab46ff9a31bf2a46298e3b8816a3f0b715446a55d22bd8f1880a36bf43d79acc07506f8674c106eec5ca WHIRLPOOL b70a03aa549320fbd102362512fa0e4b88cb7c546da997356cbe11a3af89e1be7384dd1fe43cd6a881ab952e6eb7173841acc36070373dd41744b63b2f739349 DIST swipl-7.3.24.tar.gz 16438721 SHA256 4fd337d0817373c7c8d59cce5324e068be316d28dc3e81877075cd51168dd7cd SHA512 40d791bc5b2efc94a131c1895c16b28b361f877bb09587cf0dbdc4a67600d10da69133c2bcc1da0df45db839d70e11412614d140b77f2ba820e8c6516fa4bd4b WHIRLPOOL 161ab7ec73ba1f2fdfd02a6a55bb74eb80cbd05af793792bfea3d98e16ae1e6c6f653394e2c4f988d48f3cdbd78402f687fba0aa5ab40205129787f642d2a917 DIST swipl-7.3.25.tar.gz 16468055 SHA256 0ab08807cf84658faea555fdd8bab58b2c240496dd88b60400594329fd7b0736 SHA512 f16055fe70cd44dcfc9a8f31179e8baaca46158f1af7e243e455992c337ec0c8be6b1fe7bb276f56b3acf9b09a9fdcb381943985d559f7958d4f4222b4ea737f WHIRLPOOL f3735b26347d24a433a99af9aee02eafa2ec8663210f0557aa0d361dcc875d1accdd07df034df158fd2dfb9d48fdf8f271f8c5612a481533dbb58427b7323067 +DIST swipl-7.3.26.tar.gz 16487509 SHA256 058b19003c1baf286ea3b5db3a9aef18a92625306dd354867b23c9fc5d5c1348 SHA512 c8d9165c45f1feb218ec0646742c811979ea7cb9e09243a8542c6f9bff59f77353b2363259ca4c0027a9896211e18a4f84f3ef26a11988db595b1e0fa54f09fe WHIRLPOOL 5103283710c453439ebc7c4a05fcec41971df367f64d2db5916268dd38c1e4f8bbf9058777c9a34fff2791d03c51d154c5635a96b6d004d801d83657d24ad8c1 diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.26.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.26.ebuild new file mode 100644 index 000000000000..f212c56f28a3 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.3.26.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.md VERSION +} |