diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-30 04:10:52 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-30 04:10:52 +0000 |
commit | da8b4833c3b3bdab201a7e0946dfae17d0615382 (patch) | |
tree | 67005a5dd1dddc84ceef7623fe6918efdb6eb91e /sci-libs/arprec | |
parent | Version bump. (diff) | |
download | historical-da8b4833c3b3bdab201a7e0946dfae17d0615382.tar.gz historical-da8b4833c3b3bdab201a7e0946dfae17d0615382.tar.bz2 historical-da8b4833c3b3bdab201a7e0946dfae17d0615382.zip |
Version bump. Fix wrong enable option parsing at configure time
Package-Manager: portage-2.2.01.21313-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/arprec')
-rw-r--r-- | sci-libs/arprec/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/arprec/Manifest | 15 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.15.ebuild | 53 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch | 56 | ||||
-rw-r--r-- | sci-libs/arprec/metadata.xml | 21 |
5 files changed, 137 insertions, 16 deletions
diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog index fab90e857947..f591291cd228 100644 --- a/sci-libs/arprec/ChangeLog +++ b/sci-libs/arprec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/arprec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.13 2012/10/18 21:12:44 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.14 2012/11/30 04:10:41 bicatali Exp $ + +*arprec-2.2.15 (30 Nov 2012) + + 30 Nov 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +arprec-2.2.15.ebuild, + +files/arprec-2.2.15-fix-enabling.patch, metadata.xml: + Version bump. Fix wrong enable option parsing at configure time 18 Oct 2012; Justin Lecher <jlec@gentoo.org> arprec-2.2.13.ebuild, metadata.xml: diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest index c584f92cf211..157fffcb249e 100644 --- a/sci-libs/arprec/Manifest +++ b/sci-libs/arprec/Manifest @@ -1,14 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 +AUX arprec-2.2.15-fix-enabling.patch 2673 SHA256 2920194da8d6b3f89217029dc8978cffd387daa41bf6fb687137a850e6226838 SHA512 899b0d44bb10bde08f41510de332cd1535d3530e80205e4360d674ef54600b22c5ec1325a0e201214ab17bc12f9b4e1007e9a6cee311a0e390b01aa5dc69d864 WHIRLPOOL f610e82c9bafb5aa05b9f54a5b09e4850e164ca4de08fbbdb0ccfe80c5da8c5f685649eea8c5824d5af533e25d592f44a10724db38a7a0f10637b19ba86456f3 DIST arprec-2.2.13.tar.gz 727881 SHA256 1787804eb019776661b864d18c0680fec2cc0d9366f8e5c4a4033cb0578d6c0d SHA512 f89dfdcdd6b662c099b8ad0d39856569c49b7647938391a820a070a523d3d9f48c4054d68a72e931d20bf2fe87cd6b7752c83a116bc79b9e238b5fa0db842a02 WHIRLPOOL 25cc8d908d714829035436c4d8655e209d254e9143ee49f2c6006d7010076967d23c7f85e2a8c598d41bb9eae57a7f3a35f227f808ab7f77ed97eff891f1dd52 +DIST arprec-2.2.15.tar.gz 813589 SHA256 b9e382449c0025b135930e496cb00e070d94a18aacbc7bccec4ef8928420b555 SHA512 75df937249111bc9a6a991c186301dc872117bce44e22da2eabd188fd6ee1c0ab1cfcbbbd7ebe71cc26bd1d7bf8a54b93dc7123384536e4c890256f42e74fecf WHIRLPOOL a3d311ad98b1276ac308cfc398a2922f9b7d6da8a7e39fb072ff2bae3798c33ac26b1ab1701ebdbe2c661f68acde2af58589ee7d7f8f016fb29a9333487e3508 EBUILD arprec-2.2.13.ebuild 1146 SHA256 59b46c28e061fb4d28f2c1fa9dac51d21e90b4eeb32dc5691d5ad3adbaecd7b8 SHA512 f5ee335c48332199e122a4582311473cd88e4dc5bb6d393669ceb58c5581f9a5e2200dd0a83aa99e7cdd1cf046ee8dd2fa1b5dded75ef21ea51e8cee0ec5d158 WHIRLPOOL 2b73cdb5227986e5b69d3e5b76b1f3ce14cee18547fb089d57391538da39c4b311bb94b77aae21eebb0d9806229d5156729b2e9c2ba33ac672cb4fb3069d7126 -MISC ChangeLog 2395 SHA256 67072aa48de1c526eefd3acd0a8bb7256898331474b4277602047d699e1ee6f5 SHA512 9f532d233fad6ea069a1d145908800b3c28c89f45f3642dbe2a479577289fe0fa6031a137970c0a82c4ba72cfc784e43d8324ed0b68107457329666d86938fa3 WHIRLPOOL 2dd65742b111fe80abd8ae7e79b1537f56085ebf893d2fab4c2ccb9966fbfd44a3fbad3ef1454c68de10d0207905ec96a59819d49c74e8f69e24756ff2d75f7e -MISC metadata.xml 405 SHA256 ccc1e592cca937e3df284b3eb43eed485eb76f1913829b9a16829e66e7c6411d SHA512 5045e7a3506784e862ca9a37e50a672f1235a52bcadda46baed7e170b6909e8c1c7729a524f0b0e2d243f3f66e14585db7b850d531796fd832de0c76d9854708 WHIRLPOOL dbc40b27a861f87f1c6beefb54814d24a39f3b5b4ac69056bbc4c2501dd12a97216d6a8fe62276f2205335de77c7c4f367b15baeb78066aa24c128a00ab12f41 +EBUILD arprec-2.2.15.ebuild 1288 SHA256 a7522c21f3f793a1c9c635e2932ce92cce76ba9675851b158d8d7d5614a302a5 SHA512 390748d95874e43d6469687f295e6f35a903d9de53e052d2ddf5769989518dbab58ef0e78b4d261b6b6a0bb74afbd191764485393d369b1ebba6f77a988837bb WHIRLPOOL c9c78c30bd7fd87792608d73b98449d24e72c9d5d2ce0b7ddb72bddacd0d58c8066ed0925cb402546607864737987f264b51f1e8d550f8832bce56eee9975dfe +MISC ChangeLog 2631 SHA256 2c3dd818b09683d1347c941e8a1e63119f4937e23c9cf8ddc7663f3c646606ed SHA512 39558f3b0b08028d2bc2f9e6b08dadec743551cfbc3a8ef598d18b8c06165fd60d304a3249b47642622735f04661fac9dcb949f4b06339a3e478e9fd5e50c913 WHIRLPOOL af063f36c96fba3758a030a1e9b41671955deb81b5950e73d5199508ad41e9bd2a9f836ba248b106fa7c5f0b97aee53a326c499778721aede1a73ca66fb3b926 +MISC metadata.xml 524 SHA256 5bca9e9079afb8ada89248b0ffa8450ab54cbf0a91d274a634897aba5e0fa322 SHA512 80a11d08c4d8f2e3aded32f2db94b7696f259731686b4521e270c36712a5a3bd6f2501f7f2479d8d75a58b81d4029e87572bb59fc9b61fcbede22f226c8cfd4a WHIRLPOOL 89b5d5dc38b82faf26bdc2b0dc4d245779d4cf80f4c559d60cec0b2a37939006ebf0259b09680f86ba37aed670558da806c6dff6202b7e94be98c31814b24d0a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREKAAYFAlCAcOUACgkQgAnW8HDreRbXVACgkpX/wvf86fEcdLn/dnuJp96S -s0kAn0kFHhzbkaaDtzv2Lyb/2yFHU5/0 -=kpfE +iEYEAREIAAYFAlC4MccACgkQ1ycZbhPLE2BzigCgsIffOu6qGgB24YCaQNd9/gOO +3lEAn0wjUmB8Fl+76/gcuIYwkHLf4FBj +=L8sW -----END PGP SIGNATURE----- diff --git a/sci-libs/arprec/arprec-2.2.15.ebuild b/sci-libs/arprec/arprec-2.2.15.ebuild new file mode 100644 index 000000000000..2053e7cf2e2c --- /dev/null +++ b/sci-libs/arprec/arprec-2.2.15.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.15.ebuild,v 1.1 2012/11/30 04:10:41 bicatali Exp $ + +EAPI=4 + +FORTRAN_NEEDED=fortran +AUTOTOOLS_AUTORECONF=1 + +inherit eutils fortran-2 autotools-utils + +DESCRIPTION="Arbitrary precision float arithmetics and functions" +HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" +SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc fma fortran qd static-libs" + +DEPEND="qd? ( sci-libs/qd[fortran=] )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-fix-enabling.patch ) + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + $(use_enable fma) + $(use_enable fortran) + $(use_enable qd) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + use fortran && autotools-utils_src_compile toolkit +} + +src_install() { + autotools-utils_src_install + if use fortran; then + cd toolkit + ./mathinit || die "mathinit failed" + exeinto /usr/libexec/${PN} + doexe mathtool + insinto /usr/libexec/${PN} + doins *.dat + newdoc README README.mathtool + fi + use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf +} diff --git a/sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch b/sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch new file mode 100644 index 000000000000..e836dd6add71 --- /dev/null +++ b/sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch @@ -0,0 +1,56 @@ +--- configure.ac.orig 2012-11-29 19:50:09.547028887 -0800 ++++ configure.ac 2012-11-29 19:52:14.380660761 -0800 +@@ -36,7 +36,7 @@ + + # Checks for command-line options + # --enable-inline option. +-AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) ++AC_ARG_ENABLE(inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) + AC_MSG_CHECKING([if commonly used function is to be inlined]) + if test "x$enable_inline" != "xno"; then + enable_inline="yes" +@@ -45,7 +45,7 @@ + AC_MSG_RESULT($enable_inline) + + # --enable-debug +-AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) ++AC_ARG_ENABLE(debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) + AC_MSG_CHECKING([if debugging code is to be enabled]) + if test "x$enable_debug" = "xyes"; then + AC_DEFINE([ARPREC_DEBUG], [1], [Define to 1 to enable debugging code.]) +@@ -55,7 +55,7 @@ + AC_MSG_RESULT($enable_debug) + + # --enable-always-fix-fpu +-AC_ARG_ENABLE(enable_always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]])) ++AC_ARG_ENABLE(always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]])) + if test "x$enable_always_fix_fpu" = "xyes"; then + AC_DEFINE([ALWAYS_FIX_FPU], [1], [Define to 1 to use FPU fix whenever C interface is called.]) + else +@@ -119,7 +119,7 @@ + fi + + # --enable-qd +-AC_ARG_ENABLE(enable-qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD) ++AC_ARG_ENABLE(qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD) + library. [[default=no]]])) + if test "x$enable_qd" = "xyes"; then + AC_CHECK_QD([2.3], [CXXFLAGS="$CXXFLAGS $QD_CXXFLAGS"]) +@@ -129,7 +129,7 @@ + fi + + # --enable-fma +-AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]])) ++AC_ARG_ENABLE(fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]])) + if test "x$enable_fma" = "x"; then + enable_fma="auto" + fi +@@ -175,7 +175,7 @@ + FCFLAGS="-O2" + fi + fi +-AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]])) ++AC_ARG_ENABLE(fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]])) + if test "x$enable_fortran" != "xno"; then + AC_LANG_PUSH(Fortran) + AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90]) diff --git a/sci-libs/arprec/metadata.xml b/sci-libs/arprec/metadata.xml index 80244094e85e..df8c0e32337a 100644 --- a/sci-libs/arprec/metadata.xml +++ b/sci-libs/arprec/metadata.xml @@ -1,13 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <maintainer> - <email>grozin@gentoo.org</email> - <name>Andrey Grozin</name> - </maintainer> - <longdescription>Arbitrary precision float arithmetics and functions</longdescription> - <use> - <flag name="qd">Use <pkg>sci-libs/qd</pkg></flag> - </use> + <herd>sci</herd> +<maintainer> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> +</maintainer> +<longdescription> + Arbitrary precision library for float arithmetics and mathematical functions. +</longdescription> +<use> + <flag name="fma">Use the Fused Multiply Add instruction set</flag> + <flag name="qd">Use <pkg>sci-libs/qd</pkg>for quad-double datatype</flag> +</use> </pkgmetadata> |