summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2013-02-04 11:46:17 +0000
committerKeri Harris <keri@gentoo.org>2013-02-04 11:46:17 +0000
commit3ce556b46f9f9d8ecd4091c734c52e3966551b2c (patch)
tree8919663bad1169b73792d437a9e7b455eb7d133d /dev-lang/swi-prolog
parentapp-arch/star: Version Bump; get some patches from fedora, fix segf #409165 (diff)
downloadhistorical-3ce556b46f9f9d8ecd4091c734c52e3966551b2c.tar.gz
historical-3ce556b46f9f9d8ecd4091c734c52e3966551b2c.tar.bz2
historical-3ce556b46f9f9d8ecd4091c734c52e3966551b2c.zip
Bump -6.3 development version
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0xA138F5ED
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/ChangeLog9
-rw-r--r--dev-lang/swi-prolog/Manifest14
-rw-r--r--dev-lang/swi-prolog/swi-prolog-6.3.10.ebuild125
-rw-r--r--dev-lang/swi-prolog/swi-prolog-6.3.9.ebuild125
4 files changed, 268 insertions, 5 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index 2a50f1740047..64c82c8b1f0c 100644
--- a/dev-lang/swi-prolog/ChangeLog
+++ b/dev-lang/swi-prolog/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.374 2013/01/31 15:55:25 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.375 2013/02/04 11:46:08 keri Exp $
+
+*swi-prolog-6.3.10 (04 Feb 2013)
+*swi-prolog-6.3.9 (04 Feb 2013)
+
+ 04 Feb 2013; <keri@gentoo.org> +swi-prolog-6.3.9.ebuild,
+ +swi-prolog-6.3.10.ebuild:
+ Bump -6.3 development version
31 Jan 2013; <keri@gentoo.org> -swi-prolog-6.2.0.ebuild,
-swi-prolog-6.2.2.ebuild:
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index eb5d2cd5efb9..5a335ce4bf46 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -3,25 +3,31 @@ Hash: SHA256
DIST pl-6.2.5.tar.gz 14404112 SHA256 0613e40ebfe7329e542a042587f2e593a74f5710dbbfcf1e116ddba1e6c35167 SHA512 a61084b3f501874bcd44633ab351c01d2e92941e26e5ff9b95b76bf94c7f459e4217f12e5dad21b7b0b6a2ddb821e205f40351d6602eb80414b119e32da373eb WHIRLPOOL 0fe91154a01160c9ba3519c722cfce4e09a5b4c1fd7319563ff1b696fd74ef300b978416f14dfbed9669e5c24f97be4709181a9029029ad08a068a32c1658bb6
DIST pl-6.2.6.tar.gz 14407455 SHA256 9412f0753a61c30dbcf1afac01fe7c9168002854709e00e09c21f959e1232146 SHA512 0bd8b057241c284e5530965236ac79895153f7ff4b42d72dea67f4c1296f0319c0ed7db363bb17a099686c1742ade4ad06d8f916637ff70f84e2c00d6c122b52 WHIRLPOOL ac5b0ba0fbfab919ebfd00cc01977e82973c23522f6a601416b4fdcfdddb1f902ab87016058aaa1d62533dea512b8f931f440433814e8cb3e0f8b66f7139204e
+DIST pl-6.3.10.tar.gz 14544771 SHA256 cd22db0acd78a4bd60265e946bd7593f499dfa7e533af29c5fae987fa7cf0ce7 SHA512 7931e28f931c5b392019a964bcbcfc3c536aff6b82d94b7f110f66f3ad8d9a65ff422937278fc148d52d830bcdfad7e2fa54a57227eb8310dba6d4c100d3ac61 WHIRLPOOL dfb5daf494965f7e75f9a8772b8fa2e76a85a35e0fd7bb31354dd21a5391adb13e758edd0933ddbaf031effa1d13902c0d21ecada789b43849cdfc552ee55f9f
DIST pl-6.3.6.tar.gz 14492653 SHA256 0020d2aaff1c47bb2487c6053f231ca7070d97317f2d55993c3263fa2975a88a SHA512 b6179e813c63bba215578f53169890b484477fb7e5efd1be8247afc47c1fe03839dbdd13a21d9a4c96d4b395e813181b4e682e2cb161c47ab4e22f637192f5b8 WHIRLPOOL f792bfa371404d92930b6bec8061adc31b16f0518f0e02bc7584ca843e50785b9d6c0312c8a64c9192145a83150e0744b0b17d3be46008b3babf4713596ae4f6
DIST pl-6.3.7.tar.gz 14492539 SHA256 1c4c9f79b54f609ee329104112519485b189bf604afd235fb3854e1aeeccb13f SHA512 dd76d368973a7cf1ca104412fb070ab9576ed97d9472ae42309d5ea25dc52f27dac330fd351ccccd35b2090cc26189d472f2d1929563a3689e40e744673f9b3f WHIRLPOOL 0c62732fb44ee6b476c9175ad0a1a49fa403b753e07647e13bbf9caff3de097e78081181119b9d5b06ecbb8bfd243d9de7012766370a2f6c40b1c2aacd5a71ac
DIST pl-6.3.8.tar.gz 14522563 SHA256 5c8aac30fd9f812827164b9a4c3b08de69d4d074a65e980f6f4e4ea580bb77ae SHA512 301abeee6432d7880fec0a7d211dd61c6f3ffa917187dc82f0c75e0d919e71f6dd5ba67b1b4b7ca68f1046dba6f3b9249c89174c079d1a2eee911e65e7c00422 WHIRLPOOL bbd42db2a47d5433e34b1bfe358765e15631d0cee08f92508ac5b2817d48f4de5c6e4137cc43ceaf3e8657f40944c9c6ccac0007594e4b155a93f6ec05c09446
+DIST pl-6.3.9.tar.gz 14544131 SHA256 d0cbcb7fea6795d46f5447243800ed5a7509522442bf88e77ff802b9594f79ea SHA512 40fc854806fa4b6de90925c5e4878a1f2cc2f3de47fd7a355d65264a6e86bb21a619eaa0263d9bde05d4fd8676dcac8928acb975251f78699bd8941744547762 WHIRLPOOL 05268e6dc837e59f2757579ad113aae8e18f8798604b8c2e0fa0a2a5510aa0117ea04d6f732f3bee53c493805318a3e8b07c7df9dec46cbf70ebe84f2effaedb
DIST swi-prolog-6.2.5-gentoo-patchset-1.tar.gz 2692 SHA256 c4e59e4240effb3383465997020e4056e5967aa4f9bcf0b010a564d1f49bbd71 SHA512 2f31fae8df581931bee3b38bee1687f9fb12567a9f267a01eba5dd011377cea05b3249df942c4b719bb0c2f7cfb86c5665794948083c3090a6854b04fb25ac4e WHIRLPOOL 49685d66ee2ec6ad4a654356bb6d290d8bd81e79c42241786c235d610493b78583cfb2c44be4b20ba49f49891d9da69b90bf5b5c0f9fc59f272c20ff6475c204
DIST swi-prolog-6.2.6-gentoo-patchset-0.tar.gz 2701 SHA256 9ab62cb8b19816af66adb4b52344ca59449210a6413c08c9edaf4e3fa5cdf3ad SHA512 a0c5961fd3ceb1e8ee59be6a03bd801fa95ecede3eba41d9b66682e39095e532207e87029c13aaa0e8cb90c03e96e6e41889e433b3627df9b864adad9f45851b WHIRLPOOL eafe59ebc256ccef608b635cf8559866e38f0c52667dac96f984ce1fe195de636176fa8f9653d882a87b6619dd56e0019c01efbd413bfbcb48d457dcfb46fac6
+DIST swi-prolog-6.3.10-gentoo-patchset-0.tar.gz 1908 SHA256 1345c9154afe1aba367d58daf9ebc83b21fe97d0022070be0c30f28c5533eb2d SHA512 27ebf0c96adf15fee764686897b6e346f3da823c59a8a2ef85ecc249b92cf431be2a17b1e83329bf100e419d46741fa47a6324d39ac3f5067536f206ab424d71 WHIRLPOOL 3d9318a5c65be61ed4f0a9d09cab0c17cce13c8ac7b48e791c5c6a87b214f0d4ea4edcd517a7bbb2334be90c6f58d56565ff9dd40e8571103ae9efe7a210922d
DIST swi-prolog-6.3.6-gentoo-patchset-0.tar.gz 1920 SHA256 1e31ddd82e611cce1299252e67c8c764d5c0d189e7f2586e5fd45bd02f100bbc SHA512 8b562c9f80ff6f8f6fa34596d0444d2ea559ef7d1e46b0080594b99513f8a224416ad2e395aee9245076cc1e8ce8722730488c03e513339acb690b314b60da0a WHIRLPOOL e5bcf46be03074668644fceeaee4901e0861f5bc5a531b9fb4bd10322910eb83f47a5870c6d5359b778ed1a96d423aa16e223cd252496e19581946efc0ac1bed
DIST swi-prolog-6.3.7-gentoo-patchset-0.tar.gz 1912 SHA256 19cfbe7e9d9ad5e3eff777552fa46e9abc4b152e98391188b83e420b75bb74a3 SHA512 3f523a7379606158e2650ef07096fd18b1996d903b176ddcaea2b2ac6b9bb8b41b2037b9cafae2eb8b513a5ea92e07d03142f37a04f172c0eeb3af98e5945a48 WHIRLPOOL 500fc258311fd1e221b2865932f157507926e3af628e2bf0ed80184ced982df3dc4b77627d340c2d69a1e304e6745f17a0d83bb23f07feb3ad5ee027d7f168bd
DIST swi-prolog-6.3.8-gentoo-patchset-0.tar.gz 1918 SHA256 cffbae368d418388a0c61f020429a8a0315f1beded7712d7e0181a2231577be8 SHA512 1dcdb0d6cc3b0b1642c2495585c8b457d94c2055d621843ad813aff6b5605577b7405c2ac0b6edff5a1e78b2c5da851243ea72a516b46dc79d3cbfe84a249d0d WHIRLPOOL 471b8188ee4031fff3e476480cd5185b96414cf84a0fb3e45bea1e645c28d77da46d64d0c9e3a3340f0c581499bc7990e3a8b761f94c7851436c08d1d820f50f
+DIST swi-prolog-6.3.9-gentoo-patchset-0.tar.gz 1909 SHA256 4681421bc449c55fc75229de94dd63bb3f2a9f5ad3f17904d818b6b675441180 SHA512 a9bdc3d53ba42077ba827461da37260945ae43719aa38951bc5d6d8e45068e0e20cd05b07cbe9acc3b2faa74f00d8c50dc3ae010d33e9320c5c456b9188d5b9b WHIRLPOOL 35f261950f4e55a2a18981152be970682c530979a7791cbe5943eba02c61318d66b77529768c1313c325fc4f6a6eddee0b577d782c18f2e65b0132b1046615c8
EBUILD swi-prolog-6.2.5.ebuild 3104 SHA256 f8d620b1fb5ab7008e69acd64800761b842cdbcec87313547f60056dcadcd95a SHA512 df4d08e790c02876ac152a13b3af7d3980db059cf0f440e878961cde5c6e1a246356b39f4aade8305c43bd15680c7674096943d3d30d06cbc0a50cfc55384638 WHIRLPOOL bd8e18988738429ddf5583226a03cf2f582ce20700826ef7a4017ca67023d70444c6a69a262ba1212106760a4cc06a6b5bb9c3c5a5bf8b9a953aedfdb639a63a
EBUILD swi-prolog-6.2.6.ebuild 3108 SHA256 4d16d2b4026ff4828f7a908551e42a4b29bc5e47e82e8497768ce14e45cf1502 SHA512 a4ad84f5519f2abd424224ee325241152a922a6f4ff8c7507d3f72b0c8631a35f42ad7b6b6f708080150f69c42749eb01ad7b8816caba9d12cfdef14c62bb9de WHIRLPOOL e5faadc00191ef5f74950fe560424f81bdbc8ce2d24a1406927caa8ffd22309b46d0b92815c00cd5924d1b4bb3eeb1f07dfe35b3985169365af0730f0fd66e74
+EBUILD swi-prolog-6.3.10.ebuild 2851 SHA256 347e177f70eef8107fdf66b15eb883a74fa62d3b2f8c12c77fe7785bc3d98e1b SHA512 86378f6c15365f82d4f93c1904cc2fa65bda6b1aac7d19313d17a7578bb8b9b25406d7a81cccf1dcc2a88d20514997a7093a6cb99d4f00a4ae8d722e0a903d75 WHIRLPOOL 6489757f5e3019b09d4a46d93d308004bd9e61ad0e4e7c986708c85b5908a4f050bdcb47466f73fbeaf2670ae4d4583698fb72429c88ec48f37e8663464823be
EBUILD swi-prolog-6.3.6.ebuild 2850 SHA256 eea9763a1a796a9a66e80034869ba5e45e46d759f2fd421f8b22c5bddae0b540 SHA512 6de4c5984279cf6d404c549749f8fdde63bbdb4b462a34cb6c538acb1842fb2e25278a47ff35366594dc1e54a2d37b36ecd83ed2971745ea9362bb996c195639 WHIRLPOOL 5d11734e70f198f4561eef7473054147f82df1494f4677fa7d9d8923723eb0b21c7c3e36ea302b5a831615361c9187777ca182d46d9588ee5c3a8a8e2d197c18
EBUILD swi-prolog-6.3.7.ebuild 2850 SHA256 eec65b2397c8774dc61fb5994c24064053965006074e13a3c7c5ee0ba493d647 SHA512 b1a035c28d57f4b39820a3c792a2ff79b05f156e0b15f4cb8a123ee040fb8ca627d83ef6c9a7c59fb67d0bb2d4f9fa044d6f88c9add5487274f6731ecc811869 WHIRLPOOL ccad62e3013b59b06fdfcdc76e3d756244e5498fa1ea3b491b593ee480b224f4672773bdc995771a6e847812c3cb88783ceebebd5443d38e8c6205735b9b82f5
EBUILD swi-prolog-6.3.8.ebuild 2850 SHA256 e5143afc4828e7ca26e34466621dd4719d1f643d26dfd122edda82c63a620a11 SHA512 d9c978312396a4c1bccfc7636c6473edce220b132bc83eaf0021fa36b86691ad658e44d60d376facc30a20934650c4edafb7800785572e4a96e58936189b8063 WHIRLPOOL 81b360d97434be13adc82337e898a870b5c05647970a4eabcd182ef39c67ba55e7ea923e67db16289cf5edcdb46b9e3de2bdb5d3879368fe680813bc8e6bc332
-MISC ChangeLog 56485 SHA256 01275303be1ad0ddc38d34a97373bfa8d3fc9f4fe4bcbd636980178e6124c140 SHA512 23703cba826767edcfb71a0784eb875e62af11c3e43462fa845282dbfc4f8e7a47a2cef9c323d400ffae0270b0e6ad92c333a411512a38b8352b36c15b82f8fa WHIRLPOOL 8541de97c09f94525c2f94b108464ac8addd857eb42c669cfa646d7d4eded6530dfcceddd08c90f97b577409c7c606b66cad9877fab4ca60600db60a268631f2
+EBUILD swi-prolog-6.3.9.ebuild 2850 SHA256 3026d59faa0b47a15af590c7ffa5b1134deee6dff734fb307f650166f8371dc5 SHA512 4fadb9801d9352c942598fe8124963f220d27ca66d4ba5e93a22650efd3c43ef24d22fe620a946cc0bfe1db1cbb84cbaf3ca19d3b1002a8ffefa52017ff75ef5 WHIRLPOOL 26c3b1aa912d00f9ca12c1305ded16086218579f49ed072b2e835bea876c2a522a180493b1496b0571b0eb79da1f4aa231dcc45ca40f5c9b58405bdadf38297e
+MISC ChangeLog 56672 SHA256 76b54cba4673cf3adb8cea2c7627c46315f4a616fdf23f2849ab6644940a8622 SHA512 49e8a75ec7ec1a134a70f52a8bbd4a52fdded8ec9234fc09d3822930000fae283116be1c1c3327c54886da74830784be44eba59b6bb818999ea609ada71a379f WHIRLPOOL 654347187936c41ea44899b33b1e6dbf690e6e445728a38c0551566176f0b6f44904a6e86b963cce8c6266ef65b05b63868c104b18da8be8efc8a300958e93e8
MISC metadata.xml 236 SHA256 cfc0f56c64161129f17e853433bcc92a212ae64ffe70f627ae6e24fd8cc3520a SHA512 c542f8fdc8c524ba187f02788407dd31a87a37255166c6ef184409e1469288736420df4dd39f42bf57bf367532ba9607484a6228790f5e71c1ca7bfb56525194 WHIRLPOOL 472c63b815161c5e04903d12cc2b5f8d7edf56ebdbd5407581534f728b95dc063cdcf227579f75c7ff819d29bb2ba02ee3b79480f46d60aa4de17199163e1242
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlEKk4cACgkQrwS/tqE49e0QJgCgkGnTsK2YTTIRYnJGvpO6W8wM
-ZYIAn0hK+d8H3PZy+EC8qs4mJI+w/gV7
-=Gi1a
+iEYEAREIAAYFAlEPnxMACgkQrwS/tqE49e2QEQCePtVRvcMYWKXvVpQe4W2hXORN
+APkAn1L9YZFS3Pr7CCQ10XcfoAgZfywF
+=XGrI
-----END PGP SIGNATURE-----
diff --git a/dev-lang/swi-prolog/swi-prolog-6.3.10.ebuild b/dev-lang/swi-prolog/swi-prolog-6.3.10.ebuild
new file mode 100644
index 000000000000..e6b7d383348e
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-6.3.10.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.3.10.ebuild,v 1.1 2013/02/04 11:46:08 keri Exp $
+
+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/pl-${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 ~x86-macos"
+IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X"
+
+RDEPEND="sys-libs/ncurses
+ archive? ( app-arch/libarchive )
+ zlib? ( sys-libs/zlib )
+ odbc? ( dev-db/unixODBC )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
+ java? ( >=virtual/jdk-1.4 )
+ 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}/pl-${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
+ 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"
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_with archive) \
+ $(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
+ emake
+
+ if ! use minimal ; then
+ cd "${S}/packages"
+ emake
+ fi
+}
+
+src_test() {
+ cd "${S}/src"
+ emake check
+
+ if ! use minimal ; then
+ cd "${S}/packages"
+ emake check
+ 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
+ fi
+
+ dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
+}
diff --git a/dev-lang/swi-prolog/swi-prolog-6.3.9.ebuild b/dev-lang/swi-prolog/swi-prolog-6.3.9.ebuild
new file mode 100644
index 000000000000..dcf14e87c67b
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-6.3.9.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.3.9.ebuild,v 1.1 2013/02/04 11:46:08 keri Exp $
+
+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/pl-${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 ~x86-macos"
+IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X"
+
+RDEPEND="sys-libs/ncurses
+ archive? ( app-arch/libarchive )
+ zlib? ( sys-libs/zlib )
+ odbc? ( dev-db/unixODBC )
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
+ java? ( >=virtual/jdk-1.4 )
+ 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}/pl-${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
+ 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"
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_with archive) \
+ $(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
+ emake
+
+ if ! use minimal ; then
+ cd "${S}/packages"
+ emake
+ fi
+}
+
+src_test() {
+ cd "${S}/src"
+ emake check
+
+ if ! use minimal ; then
+ cd "${S}/packages"
+ emake check
+ 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
+ fi
+
+ dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
+}