diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-03-07 09:06:38 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-03-07 09:06:38 +0000 |
commit | 2b70ae40fbacbc3a338066cdd92ad2e56cd3f39d (patch) | |
tree | cac17e4ecaea099e338bfb17b45a8aada6940d51 /sci-mathematics | |
parent | Make repoman a bit more happy (whitespace) (diff) | |
download | historical-2b70ae40fbacbc3a338066cdd92ad2e56cd3f39d.tar.gz historical-2b70ae40fbacbc3a338066cdd92ad2e56cd3f39d.tar.bz2 historical-2b70ae40fbacbc3a338066cdd92ad2e56cd3f39d.zip |
sci-mathematics/gmp-ecm: Fix underlinking; add static-libs support
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64
Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/gmp-ecm/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/gmp-ecm/Manifest | 10 | ||||
-rw-r--r-- | sci-mathematics/gmp-ecm/gmp-ecm-6.4.4-r1.ebuild (renamed from sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild) | 21 |
3 files changed, 27 insertions, 12 deletions
diff --git a/sci-mathematics/gmp-ecm/ChangeLog b/sci-mathematics/gmp-ecm/ChangeLog index 3da8477991ca..9e7d408c704d 100644 --- a/sci-mathematics/gmp-ecm/ChangeLog +++ b/sci-mathematics/gmp-ecm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/gmp-ecm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/ChangeLog,v 1.9 2013/03/07 08:05:21 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/ChangeLog,v 1.10 2013/03/07 09:06:37 jlec Exp $ + +*gmp-ecm-6.4.4-r1 (07 Mar 2013) + + 07 Mar 2013; Justin Lecher <jlec@gentoo.org> -gmp-ecm-6.4.4.ebuild, + +gmp-ecm-6.4.4-r1.ebuild: + Fix underlinking; add static-libs support 07 Mar 2013; Justin Lecher <jlec@gentoo.org> gmp-ecm-6.4.3-r5.ebuild, gmp-ecm-6.4.4.ebuild, gmp-ecm-9999.ebuild, metadata.xml: diff --git a/sci-mathematics/gmp-ecm/Manifest b/sci-mathematics/gmp-ecm/Manifest index bf7cc219341f..742c0617080b 100644 --- a/sci-mathematics/gmp-ecm/Manifest +++ b/sci-mathematics/gmp-ecm/Manifest @@ -4,14 +4,14 @@ Hash: SHA256 DIST gmp-ecm-6.4.3.tar.gz 944719 SHA256 946c9870c0b76ada2f6342515386828800c096fe32ff347c82374d5a4ec73685 SHA512 71ccdf3b48e96b0acad45302c87a7b17a20ad289efde212a34fb11491531b96848f1824606fdab7604874ca7d8165baba4bbfbc8424e27e8844444ad0d4f56a6 WHIRLPOOL b177904307fefbffc0c8aec2d20eb6de8475428f84f4e263b032fd47b671dba44211a2fcb80cacead76545429a7df5cd444137853145ee4ced62cb8356753579 DIST gmp-ecm-6.4.4.tar.gz 941058 SHA256 c813a814592d8092745012debdba25388211e1a2579c26183adda7cfa215b06c SHA512 039009de2d1a22de7abed2e2b843fa2bc684ddcfc45892891a24b93ad4b3640a97d2e7612ebcbdbca8db032534c226ad77c67199772b21a6139e5fa205687097 WHIRLPOOL 47cb942a4e3fd3d8a978df031dbcb19ea200e43eb9cd6ac2a9b551b7d7a8caed6f2e6ec8d7f7ec84584035b24ed2b49839582f758d245df8e297038d82be2cf8 EBUILD gmp-ecm-6.4.3-r5.ebuild 1647 SHA256 c223231dd709d6f60cc24cef6e20c6cd8e309feb323ca9aaf45ef135460426ed SHA512 ca0776f9a53672b61cdf89e4afa5ebaa99b81383a3962443b469a9ba173e7edd43f013a3680aa83133a0c46c71c052aa2ed7883c4da9c88c5a51661a4fa5307d WHIRLPOOL 937591cb5d9e647b6d37f5fc1fcde6cb243a998569ee74b1b57e3c39eda789f95ccaed53949a962b5f37e8002af0e1408eeb023086105e08dfaa9c8db3b5f733 -EBUILD gmp-ecm-6.4.4.ebuild 1548 SHA256 3ff6acd01b94b552d6bc8998fbf5bdd1d6b63a3045c29920e9b0fd028673759b SHA512 b6b30fc18e8d330853dc60d3f46adf8b25279f0a8dd5d254c7b10cb4833bcc65181c316bd9ed8b25f6d2c2b662e7b35406af1f19ff3f0bbeb91b1df1cdc9257c WHIRLPOOL 1b63938cd205b59710d816c3ede813fb23a45bb0c0dc448d4f05354b616d8a6a1d0a491bfd89d5ea5c4521f8a4ed4cf3c03e2024626f18fc1cd9b2806de3fd6d +EBUILD gmp-ecm-6.4.4-r1.ebuild 1760 SHA256 1d1579039b68dd6fc68348bc6475039a27b82e854dee575d3be897376f52b17c SHA512 09e68131c31d8238527a33653d9a2b7c10182feb4a74b36ad83bb955ffe7408e736f13f805ab816b1844c610cd9718321dafa78aaa176e02f06753960112b869 WHIRLPOOL 8a679a6e95bd532e9684c3a5f352f6bd54e0d047fc9747542769b00707c8bae3fba443f12a0c456d410e2e0c37c81015cbf673be2bbd573fa151e45bddfe16c0 EBUILD gmp-ecm-9999.ebuild 1649 SHA256 535db9f7d060cf0cdbb63c01b1833429fc1d2e696873cc9e0469e32fdd29abc9 SHA512 e9b2d7a0457c96bdd28ed1c77cd199889cc3b040125b0544a3c69019dd8cf3026b6312e649b74daeff9f7e1ee7fa2e12b29474376a086cc5ea12eb484b71bfd1 WHIRLPOOL 9e369840695e2f2dae481f7816d9444a075f366eb79515236a48c41af4a2597cae25d2cf5dece82cb3e2da3abd9f2b80b76677957cab747bdbf58e67307043e0 -MISC ChangeLog 1730 SHA256 e08910e3bb9995ec20b37d1aa4330d867e3ebb2f6a2d2c8e9ca13412081d704f SHA512 213617f658cefc50e85b31f1a8e13315680e1f4b781f9d6adc8df5a79af346f3b68ad8b90ee4be5c4b701eae89df5e097ae73f7338f4202ca9e919925ced85e2 WHIRLPOOL ff984772d0fdae9ef43b31e8276d58ec258dbd3898dd05661ec4e481734df76caf1667183d31610f1c74f2e7b90bd6ca53c7af4f55ec0998ab15d7b6fe569318 +MISC ChangeLog 1907 SHA256 f6c6b2669daafe2d2e119205adc9826e454c128c771ff84a9e29a0bde871a54e SHA512 9d1df310c4047d5de8088ed7bc26e694533c0137e083058a41b2889bac2d6566decdfc9e2c7caf4d1ab98eb8aa2b268dbd94813941a26a7dce1420235c4d9074 WHIRLPOOL 4bc494ed721d12c382e74170bdbdf3640c7dbf27259bca747d1afdee16d66431d0a7d7723b0a186403b184af41d0ee0509ef9cecad60409f9f4ae309adb8c53c MISC metadata.xml 429 SHA256 9053054992196fcfa31080b0db94db93659737b13a980a65764a4aa96a592ae8 SHA512 d8659eeecbb721ae385baa1267a810e4e33ae75e1cf6ae11d77edbdac1f3c102851ecc94dd9a098c47183a75e151b477023d32c2cc78dcd76f62d9424802d98a WHIRLPOOL dfa460da1d05a49b887959d2e36a077a03d9ad6ebd46a403cd0c3aca538ef4163478b0cab8cab6987628bb996b9bfffda719014669adfa53e7074c73694efbb0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlE4SkIACgkQgAnW8HDreRYK6ACeIav8x7m+h6iZ/4hTKuxrBI/r -/BQAoKWF9trRtm5+P4gPoL1oy/SNmgmP -=IgjT +iEYEAREIAAYFAlE4WJ4ACgkQgAnW8HDreRZ2UwCgqXMZLfto907n0H7VBT12eK1/ +pGoAoM0L8PeubwFeFPD5pnzr20icC0dY +=YWVB -----END PGP SIGNATURE----- diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4-r1.ebuild index 45aee228deb7..6d095303bfe4 100644 --- a/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild +++ b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4-r1.ebuild @@ -1,19 +1,19 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild,v 1.2 2013/03/07 08:05:21 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4-r1.ebuild,v 1.1 2013/03/07 09:06:37 jlec Exp $ EAPI=5 +inherit autotools eutils flag-o-matic multilib + DESCRIPTION="Elliptic Curve Method for Integer Factorization" HOMEPAGE="http://ecm.gforge.inria.fr/" SRC_URI="https://gforge.inria.fr/frs/download.php/32159/${P}.tar.gz" -inherit eutils flag-o-matic - LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+blas +custom-tune gwnum -openmp test" +IUSE="+blas +custom-tune gwnum -openmp static-libs test" DEPEND=" dev-libs/gmp @@ -29,10 +29,19 @@ S=${WORKDIR}/ecm-${PV} MAKEOPTS+=" -j1" +src_prepare() { + sed -e '/libecm_la_LIBADD/s:$: -lgmp:g' -i Makefile.am || die + eautoreconf +} + src_configure() { - if use gwnum; then myconf="--with-gwnum=/usr/lib"; fi + use gwnum && local myconf="--with-gwnum="${EPREFIX}"/usr/$(get_libdir)" # --enable-shellcmd is broken - econf $(use_enable openmp) $myconf + econf \ + --enable-shared \ + $(use_enable static-libs static) + $(use_enable openmp) \ + ${myconf} } src_compile() { |