diff options
author | Keri Harris <keri@gentoo.org> | 2013-01-07 14:53:21 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2013-01-07 14:53:21 +0000 |
commit | e813c185f6094be4dc637600225eea49bbcfba1a (patch) | |
tree | e2d7ad6e0e65fcd7c42abdf5d638214485f76b25 /dev-lang | |
parent | Version bump (diff) | |
download | historical-e813c185f6094be4dc637600225eea49bbcfba1a.tar.gz historical-e813c185f6094be4dc637600225eea49bbcfba1a.tar.bz2 historical-e813c185f6094be4dc637600225eea49bbcfba1a.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')
-rw-r--r-- | dev-lang/swi-prolog/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/swi-prolog/Manifest | 14 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-6.3.6.ebuild | 125 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-6.3.7.ebuild | 125 |
4 files changed, 268 insertions, 5 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index 14ab0ecd4bce..b698cdd70740 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.364 2013/01/07 13:59:53 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.365 2013/01/07 14:53:10 keri Exp $ + +*swi-prolog-6.3.7 (07 Jan 2013) +*swi-prolog-6.3.6 (07 Jan 2013) + + 07 Jan 2013; <keri@gentoo.org> +swi-prolog-6.3.6.ebuild, + +swi-prolog-6.3.7.ebuild: + Bump -6.3 development version *swi-prolog-6.2.5 (07 Jan 2013) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index d23f760f3c9c..c9aeb7c85f72 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -10,6 +10,8 @@ DIST pl-6.2.5.tar.gz 14404112 SHA256 0613e40ebfe7329e542a042587f2e593a74f5710dbb DIST pl-6.3.3.tar.gz 14467750 SHA256 6ea09e5a07eb80f6eee49282ed669f9ef89a86443b58061677345e17675041d1 SHA512 5664fb7bbad3cceb430387542f11fbd394fc088738cec69510f192ab6df2052a99f0a57d4bdaa21d0e01259ab83d122cbf4ca1343d30e3cd1f43833254c60d2e WHIRLPOOL 98240880a50e3a318f06ad8cecb153acaf3b20c84e180039188f628ffe5f701285043da6dc41ca7cccdf099a932758fa7e85c0b996c542d16fb40b669f2a53ce DIST pl-6.3.4.tar.gz 14470255 SHA256 fb660fe0c117b7c8f144fcb27ace47c6955533abe8728b21e06761685f7fb79d SHA512 1268d47e13f3f87acdc1cb5307a1141e7847f8db05460646027b0b3febebc3d9422f6a09aee3f259f3fd8d3cb46467b8aa6eaf84fb1e3c04911bfc73fc579f2c WHIRLPOOL a137cfa1ed044b6dbda1c3382092273813fa0ff299d16908bd5b730a592971f0940aca4a3c2877aae90d2ea4cf7793e04892ba94f7b287ba04e2ef86c2f94e7b DIST pl-6.3.5.tar.gz 14481776 SHA256 70b96a14d721676d11239a9c1e07c0fe7747ecb2cbd8a97e23923a8a8824a293 SHA512 182641b77fe82645ad0008fd85ffc12933c66ac2ec9941565aa3412dd852cb47d38b436738918740c38067557877abc104f8442ae4ee22d182a960a231c593db WHIRLPOOL 1c3b3ba950fe51e88f294f74eddbc2a449a023a80ef2dfef648aa81c78e7537fa6dcbefa466a77b1b5d9b64b387c0fa10c1c8189798f78ade6246a0e54d5c71e +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 swi-prolog-6.2.0-gentoo-patchset-5.tar.gz 5340 SHA256 94d1ca1c17bba09c00e8d29bf599598574667f2093996651a357eb168e5a3f7a SHA512 2a7bc9998c117a9e509f1bab73898f668922225af97f31a2569f689b89edba6776f6117f32e7023db22354e4fedefb557e7603be31fc5a696f939d271f1aebf2 WHIRLPOOL 5e05b315ff8914eb54ec4b91ce455c98604ae7b514acbafea9f72d70fcb6f68a77579e03a3b292a57c0f8dfe0d3cb6d07fe5fb9b29cdcbd051919dffc5fd5904 DIST swi-prolog-6.2.1-gentoo-patchset-4.tar.gz 4765 SHA256 2d08ec0f5d74794c8d9df48cff8cccce17fd427fa25fc14472aecb40dfc34481 SHA512 46d7af77b78bab4873b3c2456d65337cf051b5b015d6421c62024df9707265a140809ed843eac0e13e38122366bb5b433a626b340075f6b4e906df46a8abd819 WHIRLPOOL 84d1fc399ee945a9ea06a164b2dae9f4b57df4794b9da4eb84294435e5f8f5d091be8e8ce03b03a720d48a9d3554fdb01d3769842cff68d09a16a71170ae9c33 DIST swi-prolog-6.2.2-gentoo-patchset-0.tar.gz 4303 SHA256 824dd784cf3b7e1b45b65e6a923289de6e6e28d3cf0b797e071e4185f2c05f9f SHA512 5c9c579971172e7300c01120bb70c273ea37a9f962d9ede3d0e7bd45dba6441b7f3244b568643bc6f16b8eabd3099b4cbee25f5be17ac4cebe54c06547cf530f WHIRLPOOL db8349096acd6341de46465ee7c914d19087227fb31064cf3bc21593f2c25660bff2d7d7080e78dff92508bb29dde4da0248ce8b290809aa8543882c82cd0638 @@ -19,6 +21,8 @@ DIST swi-prolog-6.2.5-gentoo-patchset-0.tar.gz 2482 SHA256 2c986542445f6149f99a5 DIST swi-prolog-6.3.3-gentoo-patchset-0.tar.gz 2732 SHA256 a1d1af6730cb0edb217e2705b1253ea44b5704e69b95230934cafbc2a4cc488f SHA512 c2e9aa945220dc4a0945639665ed041e694cb0940d9df3e19505a267bd1f2c135e001c5e7745cfb96e3ed462aa7837fad4079cd26dc44fe92c9e6de774f53186 WHIRLPOOL 48f1f848e39e7d5084b3e7b5ca411df72808ac44303ba192bb2da09dd96e66fe60c900e9cb4088e3eeb5f8cede0829f332682e07f53af6fc484731365cabddda DIST swi-prolog-6.3.4-gentoo-patchset-0.tar.gz 2708 SHA256 8e589b63503355cd64746a38f95ea921791d6eea437d4d84ded3efd079408ccd SHA512 118d5fb931c1d499e57ee63977a7747a835e8a8329fa65b823c21a02661e117be8a7b611420ac4469292d390c2eecf4d0613c6f4286b2d87f03d4ec0a15053c0 WHIRLPOOL c171f1f35ddf2274e6925ac6f90de908ae3929bfbceacd31524821c1b2dc47cf5875cb3d5c0190de09bc79d5e9a9ade53135f2c48cc6ecc9b713ac15a0bf5ef0 DIST swi-prolog-6.3.5-gentoo-patchset-0.tar.gz 1930 SHA256 ab2c9223436d02ec85d5deeaadf267d46f7787729c319e082c6f4eda0db33750 SHA512 4471a7bc4bf59f400ac50555cc8bf9384561bdae9c6a37d54b42fb815590da5fcea575b2d63d3fbe9af1e9bbf749b3f247e2b182223576747aba16571d3ac08d WHIRLPOOL 4954db933bddc4f0f6581daf9d272c849ae332a895eac5aa9b427b78cdf927c8c738f72636ec5939a887e189aa4c96e2de1ef77f4843edbb66309d6a77346fc6 +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 EBUILD swi-prolog-6.2.0.ebuild 3004 SHA256 556a91277d5010c460cea0139fdb22ef2cea2423a549c6684c5258216cac3790 SHA512 4bc076744cdae9741d572db8d6d4780d25353e2e8fd042b5855f0eed0dc971e0d3025cba147bcf5d091ebfb7fb019244ff524f2da2364e4ae5e09969bc743056 WHIRLPOOL 1104879bd8fce3700a03cf69b6b7b56f18ed88817dce6326fdf91683f54243e28ee2d01554cc9c4e363f3c000de212adf86ac0d0920f474e55ba8022d64fb99d EBUILD swi-prolog-6.2.1.ebuild 3001 SHA256 1c1001d4b321cf5ca23cd8214697a6f3fb99acfd536778a102cd985c20f8cfa0 SHA512 450ee0038d2640209bce8c87c6f0321668172a94e5f57dbe58e940738079705975d353f6800063cd6a85b492d0666dd97f20f43a15f54396405907a91262676f WHIRLPOOL 4d20f454040b98e550ae9a894935a7469b971616315f98b14fd13b6efacffc34505bc378e929146a8ad85a401c33d3ebd2be338735b2ba3f25f0bc56891a9619 EBUILD swi-prolog-6.2.2.ebuild 3108 SHA256 1477b0f756b3499f88a5dc35bff2c6bed11022428c320319b42103e3eeb01c98 SHA512 7e1588054d409c9a37116d232360f43d29e5479ea64a636230efc2e8ce6de862a33e9634d73114905e1221955d5ed902e2ecd20d5ffa6c2a11c24b8884f9917c WHIRLPOOL 71c6207f7d64dae380e50cfb11314adf7a79b0a285e472fe6bf9eb49cb68b1ba6761960a8d702d5c5aac3c55a90a597558527b2e313c4e0f41381d5557e7d748 @@ -28,12 +32,14 @@ EBUILD swi-prolog-6.2.5.ebuild 3108 SHA256 3c38aabaaf4ba7ae794f9f234fddaeb015cdd EBUILD swi-prolog-6.3.3.ebuild 2850 SHA256 8212944d0f083149a5766ad10c6422d55618bd8f788c69b0576f633a3003fd6a SHA512 3d79b3aa0f4f12136858f45ccf83db4401358822eef8e47b0911df4cc61501f0308820322003a81087d2142a7b7c8e2bbda420737e202727a8fb734228f9a592 WHIRLPOOL fe6a82a6d6ad68b3c109f468664aa0677cf2c1f2ff0100f5a3e236bf9acbb0811a6d5012ce8dc0ef20cd2479afe58c58a2fd97d75903ba5a40073950c10957f0 EBUILD swi-prolog-6.3.4.ebuild 2850 SHA256 ee7328f60c09a7b1c322450ef66af2f3664e08419e0cb045dd3a426451ec2236 SHA512 290f109701962e2faf32408effc68adc6ba06b2404628c34ddc8f099a5b4b4e97c362c8ac8f1a6741ecf4f357f0386e26ac68a4a3e63ca31f87a5e7ce6b4302a WHIRLPOOL 6d491db115c5b45496b0e7d3687b043fdd3c76dc4541d8a342d8e077d736baa99f44d10ada31f8e6e2b018541999dc9d6fc2712a1e9aac70dc9f5d259e380862 EBUILD swi-prolog-6.3.5.ebuild 2850 SHA256 3043a90dee0cc41d417fc5c60e07051f87d594dfdf7ecce44b9ef1363d17f63b SHA512 a409298729b6825e5941ef0c23fbcea736cdce6ab5628299f893fd64d78aae83435a9f564248b7a93fa8ff9315195ebbe13bd0d6be7a7419cabd5b3f79523c8b WHIRLPOOL 9f44673bd185a63dfa0369f78a1ec2721c3e0c76f4ff734e377ba4aeb599f56b4532c9d072240d241c30315f8f58520001dbf60b339f64bac55693edaaf2505f -MISC ChangeLog 55239 SHA256 61d211c76e93932f18dc9ffbc6bb1e88812ed387e631c6cccee18739c2e87a44 SHA512 e9f7517b4a8dfdeb0308ab148bfaf6b4b9b4169b6b08cdf79493a5fcbd23957501aa273c2c1ba7c66d575a55ea95bec3044a54a85339913cdd1337002c11f79d WHIRLPOOL 95ab71f0e532a4c5e602c3b36520a970772cbc03a1e94badc009aaa556268114d7e455c4e0dedf5079e682a491c302c9f40f524953ac50b31cf43e01ce639cdc +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 +MISC ChangeLog 55424 SHA256 326276adf9f84cb80c730665ca4dfb743e4655fcc4d132f0a7b9c2a253602a92 SHA512 385a857d167a38d2d8a7902ba8b9aed8bdc3bcb286cd49707bd35370516be5868aeea06067009a645cc82ea4f8c95eb37ab12bcd4d0f11f6122d43be41e545f4 WHIRLPOOL 16877dbde152a78a53fb3e606296c7ea52decb564cae9b59d2b9da2bd9687ec3bb4131bf13ea55a2b85b1729518b1f5bde029041a520808d28ac44b3d7cbd377 MISC metadata.xml 236 SHA256 cfc0f56c64161129f17e853433bcc92a212ae64ffe70f627ae6e24fd8cc3520a SHA512 c542f8fdc8c524ba187f02788407dd31a87a37255166c6ef184409e1469288736420df4dd39f42bf57bf367532ba9607484a6228790f5e71c1ca7bfb56525194 WHIRLPOOL 472c63b815161c5e04903d12cc2b5f8d7edf56ebdbd5407581534f728b95dc063cdcf227579f75c7ff819d29bb2ba02ee3b79480f46d60aa4de17199163e1242 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDq1J4ACgkQrwS/tqE49e1n0QCgik2bwVkUG71/j0P/9IrgXNy3 -cNcAoK89BwHAW5DmxRtqsQraqbqsbeU7 -=Uryw +iEYEAREIAAYFAlDq4RsACgkQrwS/tqE49e2RogCaAn8R6T7IpTTjQbA/rlBHLiN7 +i+EAnRcY/1Lp6R5+2MjpK6+/RqWoQtlj +=L+bA -----END PGP SIGNATURE----- diff --git a/dev-lang/swi-prolog/swi-prolog-6.3.6.ebuild b/dev-lang/swi-prolog/swi-prolog-6.3.6.ebuild new file mode 100644 index 000000000000..4318529ec524 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-6.3.6.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.6.ebuild,v 1.1 2013/01/07 14:53:10 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.7.ebuild b/dev-lang/swi-prolog/swi-prolog-6.3.7.ebuild new file mode 100644 index 000000000000..7d13d48949eb --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-6.3.7.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.7.ebuild,v 1.1 2013/01/07 14:53:10 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 +} |