diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-27 10:39:28 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-27 10:39:28 +0000 |
commit | bf765dafa47ee8d8d3cbc88f5ec04bb6cb5f726d (patch) | |
tree | ff3f44032ad0cface30f60ca4259740d8e301f28 /sci-libs/fftw | |
parent | Version bump wrt #242860 (diff) | |
download | historical-bf765dafa47ee8d8d3cbc88f5ec04bb6cb5f726d.tar.gz historical-bf765dafa47ee8d8d3cbc88f5ec04bb6cb5f726d.tar.bz2 historical-bf765dafa47ee8d8d3cbc88f5ec04bb6cb5f726d.zip |
Fixed for older libtool versions and forcing posix threads in the ebuild if gcc<4.2, closing bug #248687
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-libs/fftw')
-rw-r--r-- | sci-libs/fftw/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/fftw/Manifest | 10 | ||||
-rw-r--r-- | sci-libs/fftw/fftw-3.2.ebuild | 31 |
3 files changed, 24 insertions, 23 deletions
diff --git a/sci-libs/fftw/ChangeLog b/sci-libs/fftw/ChangeLog index ce5aec033233..f7ba701c8629 100644 --- a/sci-libs/fftw/ChangeLog +++ b/sci-libs/fftw/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/fftw # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.74 2008/11/24 11:02:05 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.75 2008/11/27 10:39:28 bicatali Exp $ + + 27 Nov 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> fftw-3.2.ebuild: + Fixed for older libtool versions and forcing posix threads in the ebuild + if gcc<4.2, closing bug #248687 *fftw-3.2 (21 Nov 2008) diff --git a/sci-libs/fftw/Manifest b/sci-libs/fftw/Manifest index 6fd9ff1d605a..127dc6fa79bb 100644 --- a/sci-libs/fftw/Manifest +++ b/sci-libs/fftw/Manifest @@ -18,13 +18,13 @@ EBUILD fftw-2.1.5-r4.ebuild 3435 RMD160 6dec3455cbb6e4804d1d0899a9816a7c771aef03 EBUILD fftw-2.1.5-r5.ebuild 3847 RMD160 ade95322bf17aa8c911587b364424622ed69356f SHA1 70a0051b49e07e02bf2b124df4cc8d0451bf9211 SHA256 7706bc77b28e03847e5d8cf04f3114c070ac3a8d79c54c4ea6797076ef142f2f EBUILD fftw-3.1.2.ebuild 3028 RMD160 ccae2a7aa9987a6dadac0de1b6c22d70f267c14d SHA1 a099a89a2fe1164b78b05b2a41d29b4a8c4a776a SHA256 96b29aa7df715b9765596d0e9c69a69013232e412d255afbc71e58feb3160804 EBUILD fftw-3.1.3.ebuild 3956 RMD160 1a26e82f159bbd9354e429edb50257bec385d514 SHA1 68d221a2ce8638bac8016bad7ae09a91ef0aa330 SHA256 c982e9c98cc5b4c1dc4109b5b36b0a4b4cf2e3674a3f13bc4161d159364a65fb -EBUILD fftw-3.2.ebuild 3932 RMD160 29b35808655e34357e080ea54cc473311fcf16ab SHA1 86bfc94dfa2f06820081d39e612cea8b274adce0 SHA256 661bf0e287ffbcb0748203359d4a84aaca7c48b77aca3cef248db1a5f95be610 -MISC ChangeLog 16176 RMD160 3550c59d5ad99acf3e65214cfdba3478ca6bc4f4 SHA1 630fbe1752c83b6ec249c334c7f058d5c490b4f8 SHA256 b4518f64719f65f4d997e0805478e211dfe0151d9d069a733d280702faad04cf +EBUILD fftw-3.2.ebuild 3919 RMD160 06eec7f1692940765b79696c4b41656708db8102 SHA1 9d4f696c9ca2aaa5d142e348e132b2a8e9939b66 SHA256 c35a94d183821cc41d34e661979388513fa02a6932a6beca75cba7904ca256bf +MISC ChangeLog 16358 RMD160 337bca10a77f9fddbb3fa7b5457b65b35adc8f71 SHA1 443519709a70f62a2fc111b379a664f581330a77 SHA256 52b93f73603ca499c6387bc6c556d56547a908d57c371095b940d97ff959d2b1 MISC metadata.xml 770 RMD160 ca19408a763b8f3db20849456d67c3027cfdba5e SHA1 8c6d41e762d4cc86eaaeee10a2fc9c4743e0e828 SHA256 129a4af8bed71473f17cf323cb11763e09cf9b63eaa764643a1412c649a8c0bb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkkqibcACgkQ1ycZbhPLE2DeKQCgot83nu51Uyg3nkdKCMN6vhKK -hHoAn1vWclaeSn1WygGv75jipcy4Kemy -=B7DA +iEYEARECAAYFAkkueOkACgkQ1ycZbhPLE2DFyACdGp7brYdfya5kTLsf7CXyhasv +ARQAoLPqgKLwad7Tskxw2v4qLTQyaCy7 +=RzBM -----END PGP SIGNATURE----- diff --git a/sci-libs/fftw/fftw-3.2.ebuild b/sci-libs/fftw/fftw-3.2.ebuild index a3556fe09eae..6dc56fa75194 100644 --- a/sci-libs/fftw/fftw-3.2.ebuild +++ b/sci-libs/fftw/fftw-3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.2.ebuild,v 1.1 2008/11/24 11:02:05 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.2.ebuild,v 1.2 2008/11/27 10:39:28 bicatali Exp $ inherit flag-o-matic eutils toolchain-funcs autotools fortran @@ -14,6 +14,12 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="altivec doc fortran openmp sse sse2 threads" pkg_setup() { + FFTW_THREADS="--disable-threads --disable-openmp" + if use openmp; then + FFTW_THREADS="--disable-threads --enable-openmp" + elif use threads; then + FFTW_THREADS="--enable-threads --disable-openmp" + fi if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || @@ -22,8 +28,9 @@ pkg_setup() { ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " ewarn "If you want to build fftw with OpenMP, abort now," ewarn "and switch CC to an OpenMP capable compiler" - ewarn "Otherwise the configure script will select POSIX threads." + ewarn "Otherwise, we will build using POSIX threads." epause 5 + FFTW_THREADS="--enable-threads --disable-openmp" fi FORTRAN="gfortran ifc g77" use fortran && fortran_pkg_setup @@ -39,6 +46,9 @@ src_unpack() { # fix info file sed -e 's/Texinfo documentation system/Libraries/' \ -i doc/fftw3.info || die "failed to fix info file" + + rm m4/lt* m4/libtool.m4 + AT_M4DIR=m4 eautoreconf cd "${WORKDIR}" mv ${P} ${P}-single @@ -52,22 +62,9 @@ src_compile() { local myconfcommon=" --enable-shared - $(use_enable threads) - $(use_enable fortran)" + $(use_enable fortran) + ${FFTW_THREADS}" - if use openmp; then - myconfcommon="${myconfcommon} - --disable-threads - --enable-openmp" - elif use threads; then - myconfcommon="${myconfcommon} - --enable-threads - --disable-openmp" - else - myconfcommon="${myconfcommon} - --disable-threads - --disable-openmp" - fi local myconfsingle="" local myconfdouble="" local myconflongdouble="" |