summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-05-02 16:01:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-05-02 16:01:42 +0000
commit9c63b6546bd0c116ffe31204d20ebab07bad3305 (patch)
tree35de580dba53ec4bea90959006541b519af9016b /sci-libs
parentadd 4.3 to qt4 mayor versions (diff)
downloadgentoo-2-9c63b6546bd0c116ffe31204d20ebab07bad3305.tar.gz
gentoo-2-9c63b6546bd0c116ffe31204d20ebab07bad3305.tar.bz2
gentoo-2-9c63b6546bd0c116ffe31204d20ebab07bad3305.zip
removed obsolete versions. Fixed bug #174968, thanks to MaratIK <marat.buharov@gmail.com>
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/fftw/ChangeLog9
-rw-r--r--sci-libs/fftw/fftw-2.1.5-r2.ebuild144
-rw-r--r--sci-libs/fftw/fftw-3.0.1-r1.ebuild101
-rw-r--r--sci-libs/fftw/fftw-3.0.1-r2.ebuild10
-rw-r--r--sci-libs/fftw/fftw-3.0.1.ebuild89
-rw-r--r--sci-libs/fftw/fftw-3.1.1.ebuild120
-rw-r--r--sci-libs/fftw/fftw-3.1.ebuild89
-rw-r--r--sci-libs/fftw/files/digest-fftw-2.1.5-r23
-rw-r--r--sci-libs/fftw/files/digest-fftw-3.0.13
-rw-r--r--sci-libs/fftw/files/digest-fftw-3.0.1-r13
-rw-r--r--sci-libs/fftw/files/digest-fftw-3.13
-rw-r--r--sci-libs/fftw/files/digest-fftw-3.1.13
-rw-r--r--sci-libs/fftw/files/fftw-3.0.1-amd64.patch66
-rw-r--r--sci-libs/fftw/files/fftw-ppc-macos.1.patch30
14 files changed, 83 insertions, 590 deletions
diff --git a/sci-libs/fftw/ChangeLog b/sci-libs/fftw/ChangeLog
index 330894018bce..220c25aff5f8 100644
--- a/sci-libs/fftw/ChangeLog
+++ b/sci-libs/fftw/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/fftw
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.49 2007/04/30 16:44:54 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.50 2007/05/02 16:01:42 bicatali Exp $
+
+ 02 May 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/fftw-3.0.1-amd64.patch, -files/fftw-ppc-macos.1.patch,
+ -fftw-2.1.5-r2.ebuild, -fftw-3.0.1.ebuild, -fftw-3.0.1-r1.ebuild,
+ fftw-3.0.1-r2.ebuild, -fftw-3.1.ebuild, -fftw-3.1.1.ebuild:
+ removed obsolete versions. Fixed bug #174968, thanks to MaratIK
+ <marat.buharov@gmail.com>
*fftw-2.1.5-r3 (30 Apr 2007)
diff --git a/sci-libs/fftw/fftw-2.1.5-r2.ebuild b/sci-libs/fftw/fftw-2.1.5-r2.ebuild
deleted file mode 100644
index 39b763fba08b..000000000000
--- a/sci-libs/fftw/fftw-2.1.5-r2.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-2.1.5-r2.ebuild,v 1.4 2007/04/27 04:09:10 jer Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit flag-o-matic multilib libtool autotools
-
-IUSE="mpi"
-
-DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
-SRC_URI="http://www.fftw.org/${P}.tar.gz"
-HOMEPAGE="http://www.fftw.org"
-
-DEPEND="mpi? ( >=sys-cluster/lam-mpi-6.5.6 )"
-SLOT="2.1"
-LICENSE="GPL-2"
-
-KEYWORDS="alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-
-pkg_setup() {
- #this one is reported to cause trouble on pentium4 m series
- filter-mfpmath "sse"
-
- #here I need (surprise) to increase optimization:
- #--enable-i386-hacks requires -fomit-frame-pointer to work properly
- if [ "${ARCH}" != "amd64" ]; then
- is-flag "-fomit-frame-pointer" || append-flags "-fomit-frame-pointer"
- fi
-
- einfo ""
- einfo "This ebuild installs double and single precision versions of library"
- einfo "This involves some name mangling, as supported by package and required"
- einfo "by some apps that use it."
- einfo "By default, the symlinks to non-mangled names will be created off"
- einfo "double-precision version. In order to symlink to single-precision use"
- einfo "SINGLE=yes emerge fftw"
- einfo ""
-}
-
-src_unpack() {
- #doc suggests installing single and double precision versions via separate compilations
- #will do in two separate source trees
- #since some sed'ing is done during the build (?if --enable-type-prefix is set?)
-
- unpack "${P}.tar.gz"
- cd "${S}"
- epatch "${FILESDIR}/${P}-as-needed.patch"
- eautoreconf
-
- cd "${WORKDIR}"
- cp -R ${P} ${P}-double
- mv ${P} ${P}-single
-}
-
-
-src_compile() {
- local myconf=""
- use mpi && myconf="${myconf} --enable-mpi"
-
- if [ "${ARCH}" == "amd64" ]; then
- myconf="${myconf} --disable-i386-hacks"
- else
- myconf="${myconf} --enable-i386-hacks"
- fi
-
- #mpi is not a valid flag yet. In this revision it is used merely to block --enable-mpi option
- #it might be needed if it is decided that lam is an optional dependence
-
- cd "${S}-single"
- econf \
- --enable-shared \
- --enable-threads \
- --enable-type-prefix \
- --enable-float \
- --enable-vec-recurse \
- ${myconf} || die "./configure failed"
- emake || die
-
- #the only difference here is no --enable-float
- cd "${S}-double"
- econf \
- --enable-shared \
- --enable-threads \
- --enable-type-prefix \
- --enable-vec-recurse \
- ${myconf} || die "./configure failed"
- emake || die
-}
-
-src_install () {
- #both builds are installed in the same place
- #libs are distinguished by preffix (s or d), see docs for details
- cd "${S}-single"
-
- make DESTDIR=${D} install || die
-
- cd "${S}-double"
-
- # fix info file
- local infofile
- for infofile in doc/fftw*info*; do
- echo "INFO-DIR-SECTION Libraries" >>${infofile}
- echo "START-INFO-DIR-ENTRY" >>${infofile}
- echo "* fftw: (fftw). C subroutine library for computing the Discrete Fourier Transform (DFT)" >>${infofile}
- echo "END-INFO-DIR-ENTRY" >>${infofile}
- done
- make DESTDIR=${D} install || die
-
- # Install documentation.
- cd "${S}-single"
-
- dodoc AUTHORS ChangeLog COPYING INSTALL NEWS TODO
- dohtml doc/fftw*.html
-
- if [ "$SINGLE" = "yes" ]; then
- cd ${D}usr/include
- dosym sfftw.h /usr/include/fftw.h
- dosym srfftw.h /usr/include/rfftw.h
- dosym sfftw_threads.h /usr/include/fftw_threads.h
- dosym srfftw_threads.h /usr/include/rfftw_threads.h
- cd ${D}usr/$(get_libdir)
- dosym libsfftw.so /usr/$(get_libdir)/libfftw.so
- dosym libsrfftw.so /usr/$(get_libdir)/librfftw.so
- dosym libsfftw_threads.so /usr/$(get_libdir)/libfftw_threads.so
- dosym libsrfftw_threads.so /usr/$(get_libdir)/librfftw_threads.so
- else
- cd ${D}usr/include
- dosym dfftw.h /usr/include/fftw.h
- dosym drfftw.h /usr/include/rfftw.h
- dosym dfftw_threads.h /usr/include/fftw_threads.h
- dosym drfftw_threads.h /usr/include/rfftw_threads.h
- cd ${D}usr/$(get_libdir)
- dosym libdfftw.so /usr/$(get_libdir)/libfftw.so
- dosym libdrfftw.so /usr/$(get_libdir)/librfftw.so
- dosym libdfftw_threads.so /usr/$(get_libdir)/libfftw_threads.so
- dosym libdrfftw_threads.so /usr/$(get_libdir)/librfftw_threads.so
- fi
-
- cd "${S}-single/fortran"
- insinto usr/include
- doins fftw_f77.i
-}
diff --git a/sci-libs/fftw/fftw-3.0.1-r1.ebuild b/sci-libs/fftw/fftw-3.0.1-r1.ebuild
deleted file mode 100644
index ff1807cd0fd1..000000000000
--- a/sci-libs/fftw/fftw-3.0.1-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.8 2005/07/17 21:55:00 hardave Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
-HOMEPAGE="http://www.fftw.org/"
-SRC_URI="http://www.fftw.org/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="3.0"
-KEYWORDS="~alpha amd64 hppa ia64 ~mips ~ppc ~ppc-macos ppc64 sparc ~x86"
-IUSE="3dnow altivec mpi sse sse2"
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- unpack "${P}.tar.gz"
- cd "${WORKDIR}"
- use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch
- mv ${P} ${P}-single
-
- unpack "${P}.tar.gz"
- cd "${WORKDIR}"
- use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch
- mv ${P} ${P}-double
-}
-
-src_compile() {
- #-fpmath=xx is reported to cause trouble on pentium4 m series
- #(for 3.0.x: this sort of thing should be handled by the --enable-sse
- #style configure flags. these are set below using the use variables,
- #but under gcc-3.2.x, sse2 seems to cause trouble.)
- filter-mfpmath
-
- # in gcc 3.2.3 at least, using sse or sse2 causes trouble with -O3
- # according to the docs, -O0 can cause trouble too! So pending further
- # testing, ...
- if use sse; then
- filter-flags -O3 -O1 -O -Os
- append-flags -O2
- fi
-
- local myconf=""
- local myconfsingle=""
- local myconfdouble=""
-
- use mpi && myconf="${myconf} --enable-mpi"
- #mpi is not a valid flag yet. In this revision it is used merely to block --enable-mpi option
- #it might be needed if it is decided that lam is an optional dependence
-
- if use sse2; then
- myconfsingle="$myconfsingle --enable-sse"
- myconfdouble="$myconfdouble --enable-sse2"
- elif use sse; then
- myconfsingle="$myconfsingle --enable-sse"
- elif use 3dnow; then
- myconfsingle="$myconfsingle --enable-k7"
- fi
-
- # Altivec-support in fftw is currently broken
- # with gcc 3.4
- if [ "`gcc-version`" != "3.4" ]; then
- myconfsingle="$myconfsingle `use_enable altivec`"
- fi
-
- cd "${S}-single"
- econf \
- --enable-shared \
- --enable-threads \
- --enable-float \
- ${myconf} ${myconfsingle} || die "./configure failed"
- emake || die
-
- #the only difference here is no --enable-float
- cd "${S}-double"
- econf \
- --enable-shared \
- --enable-threads \
- ${myconf} ${myconfdouble} || die "./configure failed"
- emake || die
-}
-
-src_install () {
- #both builds are installed in the same place
- #libs have distinuguished names; include files, docs etc. identical.
- cd "${S}-single"
- make DESTDIR=${D} install || die
-
- cd "${S}-double"
- make DESTDIR=${D} install || die
-
- # Install documentation.
- cd "${S}-single"
-
- dodoc AUTHORS ChangeLog NEWS README TODO COPYRIGHT CONVENTIONS
-
- cd doc/html
- dohtml -r .
-}
diff --git a/sci-libs/fftw/fftw-3.0.1-r2.ebuild b/sci-libs/fftw/fftw-3.0.1-r2.ebuild
index c02226bfa5ad..21141456d1d9 100644
--- a/sci-libs/fftw/fftw-3.0.1-r2.ebuild
+++ b/sci-libs/fftw/fftw-3.0.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.0.1-r2.ebuild,v 1.14 2007/01/04 18:17:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.0.1-r2.ebuild,v 1.15 2007/05/02 16:01:42 bicatali Exp $
WANT_AUTOMAKE="1.9"
WANT_AUTOCONF="latest"
@@ -35,6 +35,7 @@ src_unpack() {
cd "${WORKDIR}"
use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch
+ use amd64 && epatch ${FILESDIR}/${P}-amd64.patch
mv ${P} ${P}-single
cp -pPR ${P}-single ${P}-double
}
@@ -94,6 +95,13 @@ src_compile() {
emake || die
}
+src_test() {
+ cd "${S}-single"
+ emake check || die "emake check single failed"
+ cd "${S}-double"
+ emake check || die "emake check double failed"
+}
+
src_install () {
#both builds are installed in the same place
#libs have distinuguished names; include files, docs etc. identical.
diff --git a/sci-libs/fftw/fftw-3.0.1.ebuild b/sci-libs/fftw/fftw-3.0.1.ebuild
deleted file mode 100644
index 797235d37c31..000000000000
--- a/sci-libs/fftw/fftw-3.0.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.0.1.ebuild,v 1.4 2006/02/26 23:27:19 markusle Exp $
-
-IUSE="3dnow sse mpi"
-
-inherit flag-o-matic
-
-DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
-SRC_URI="http://www.fftw.org/${P}.tar.gz"
-HOMEPAGE="http://www.fftw.org"
-
-SLOT="3.0"
-LICENSE="GPL-2"
-DEPEND="virtual/libc"
-
-KEYWORDS="x86 ppc sparc alpha ~ia64 amd64"
-
-src_unpack() {
- unpack "${P}.tar.gz"
- cd "${WORKDIR}"
- mv ${P} ${P}-single
-
- unpack "${P}.tar.gz"
- cd "${WORKDIR}"
- mv ${P} ${P}-double
-}
-
-
-src_compile() {
- local myconf=""
- local myconfsingle=""
- local myconfdouble=""
-
- # in gcc 3.2.3 at least, using sse or sse2 causes trouble with -O3
- # according to the docs, -O0 can cause trouble too! So pending further
- # testing, ...
-
- if use sse; then
- filter-flags -O3 -O1 -O -Os
- append-flags -O2
- fi
-
- use mpi && myconf="${myconf} --enable-mpi"
- #mpi is not a valid flag yet. In this revision it is used merely to block --enable-mpi option
- #it might be needed if it is decided that lam is an optional dependence
-
- if use sse; then
- myconfsingle="$myconfsingle --enable-sse"
- myconfdouble="$myconfdouble --enable-sse2"
- elif use 3dnow; then
- myconfsingle="$myconfsingle --enable-3dnow"
- fi
-
- cd "${S}-single"
- econf \
- --enable-shared \
- --enable-threads \
- --enable-float \
- ${myconf} ${myconfsingle} || die "./configure failed"
- emake || die
-
- #the only difference here is no --enable-float
- cd "${S}-double"
- econf \
- --enable-shared \
- --enable-threads \
- ${myconf} ${myconfdouble} || die "./configure failed"
- emake || die
-}
-
-src_install () {
- #both builds are installed in the same place
- #libs have distinuguished names; include files, docs etc. identical.
- cd "${S}-single"
- make DESTDIR=${D} install || die
-
- cd "${S}-double"
- make DESTDIR=${D} install || die
-
- # Install documentation.
- cd "${S}-single"
-
- dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
- dodoc COPYRIGHT CONVENTIONS
-
- cd doc/html
- dohtml -r .
-}
diff --git a/sci-libs/fftw/fftw-3.1.1.ebuild b/sci-libs/fftw/fftw-3.1.1.ebuild
deleted file mode 100644
index 5f51ec5ce5eb..000000000000
--- a/sci-libs/fftw/fftw-3.1.1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.1.1.ebuild,v 1.7 2006/06/28 10:31:39 robbat2 Exp $
-
-inherit flag-o-matic eutils toolchain-funcs autotools
-
-DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
-HOMEPAGE="http://www.fftw.org/"
-SRC_URI="http://www.fftw.org/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="3.0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
-IUSE="altivec sse sse2 test"
-
-DEPEND="test? ( dev-lang/perl )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if [[ "${ARCH}" == "ppc-macos" ]];then
- epatch "${FILESDIR}"/${PN}-ppc-macos.patch
- fi
-
- # fix info file
- sed -e 's/Texinfo documentation system/Libraries/' \
- -i doc/fftw3.info || die "failed to fix info file"
-
- # fix altivec compilation problems (bug #129304)
- epatch "${FILESDIR}"/${PN}-altivec-headers.patch
- eautoconf
-
- cd "${WORKDIR}"
- mv ${P} ${P}-single
- cp -pPR ${P}-single ${P}-double
- cp -pPR ${P}-single ${P}-longdouble
-}
-
-src_compile() {
- # filter -Os according to docs
- replace-flags -Os -O2
-
- local myconfcommon="--enable-shared --enable-threads"
- local myconfsingle=""
- local myconfdouble=""
- local myconflongdouble=""
-
- if use sse2; then
- myconfsingle="$myconfsingle --enable-sse"
- myconfdouble="$myconfdouble --enable-sse2"
- elif use sse; then
- myconfsingle="$myconfsingle --enable-sse"
- fi
- # altivec only helps floats, not doubles
- if use altivec; then
- myconfsingle="$myconfsingle --enable-altivec"
- fi
-
- cd "${S}-single"
- econf \
- ${myconfcommon} \
- --enable-float \
- ${myconfsingle} || \
- die "./configure in single failed"
- emake || die
-
- #the only difference here is no --enable-float
- cd "${S}-double"
- econf \
- ${myconfcommon} \
- ${myconfdouble} || \
- die "./configure in double failed"
- emake || die
-
- #the only difference here is --enable-long-double
- cd "${S}-longdouble"
- econf \
- ${myconfcommon} \
- --enable-long-double \
- ${myconflongdouble} || \
- die "./configure in long double failed"
- emake || die
-}
-
-src_install () {
- #all builds are installed in the same place
- #libs have distinuguished names; include files, docs etc. identical.
- cd "${S}-single"
- emake DESTDIR="${D}" install || die
-
- cd "${S}-double"
- emake DESTDIR="${D}" install || die
-
- cd "${S}-longdouble"
- emake DESTDIR="${D}" install || die
-
- # Install documentation.
- cd "${S}-single"
-
- dodoc AUTHORS ChangeLog NEWS README TODO COPYRIGHT CONVENTIONS
-
- cd doc/html
- dohtml -r .
-}
-
-src_test () {
- # We want this to be a reasonably quick test, but that is still hard...
- ewarn "This test series will take 30 minutes on a modern 2.5Ghz machine"
- # Do not increase the number of threads, it will not help your performance
- local testbase="perl check.pl --nthreads=1 --estimate"
- for d in single double longdouble; do
- cd "${S}-${d}"/tests
- for p in 0 1 2; do
- n="${d/longdouble/long double} / ${p}-D"
- einfo "Testing $n"
- ${testbase} -${p}d || die "Failure: $n"
- done
- done
-}
diff --git a/sci-libs/fftw/fftw-3.1.ebuild b/sci-libs/fftw/fftw-3.1.ebuild
deleted file mode 100644
index b057244b66d7..000000000000
--- a/sci-libs/fftw/fftw-3.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.1.ebuild,v 1.2 2006/03/07 22:01:43 markusle Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
-HOMEPAGE="http://www.fftw.org/"
-SRC_URI="http://www.fftw.org/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="3.0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
-IUSE="3dnow altivec sse sse2"
-
-DEPEND=""
-
-src_unpack() {
- unpack "${P}.tar.gz"
- cd "${S}"
- cd "${WORKDIR}"
- use ppc-macos && epatch "${FILESDIR}"/${PN}-ppc-macos.patch
- mv ${P} ${P}-single
- cp -pPR ${P}-single ${P}-double
-}
-
-src_compile() {
- # filter -Os according to docs
- replace-flags -Os -O2
-
- local myconfsingle=""
- local myconfdouble=""
-
- if use sse2; then
- myconfsingle="$myconfsingle --enable-sse"
- myconfdouble="$myconfdouble --enable-sse2"
- elif use sse; then
- myconfsingle="$myconfsingle --enable-sse"
- elif use 3dnow; then
- myconfsingle="$myconfsingle --enable-k7"
- fi
-
- # disable building of shared libs for k7 (c.f. bug #125218)
- if ! use 3dnow; then
- myconfsingle="$myconfsingle --enable-shared"
- myconfdouble="$myconfdouble --enable-shared"
- fi
-
-
- # Altivec-support in fftw is currently broken
- # with gcc 3.4
- if [ "`gcc-version`" != "3.4" ]; then
- myconfsingle="$myconfsingle `use_enable altivec`"
- fi
-
- cd "${S}-single"
- econf \
- --enable-threads \
- --enable-float \
- ${myconfsingle} || \
- die "./configure in single failed"
- emake || die
-
- #the only difference here is no --enable-float
- cd "${S}-double"
- econf \
- --enable-threads \
- ${myconfdouble} || \
- die "./configure in double failed"
- emake || die
-}
-
-src_install () {
- #both builds are installed in the same place
- #libs have distinuguished names; include files, docs etc. identical.
- cd "${S}-single"
- make DESTDIR=${D} install || die
-
- cd "${S}-double"
- make DESTDIR=${D} install || die
-
- # Install documentation.
- cd "${S}-single"
-
- dodoc AUTHORS ChangeLog NEWS README TODO COPYRIGHT CONVENTIONS
-
- cd doc/html
- dohtml -r .
-}
diff --git a/sci-libs/fftw/files/digest-fftw-2.1.5-r2 b/sci-libs/fftw/files/digest-fftw-2.1.5-r2
deleted file mode 100644
index 949efaeda653..000000000000
--- a/sci-libs/fftw/files/digest-fftw-2.1.5-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8d16a84f3ca02a785ef9eb36249ba433 fftw-2.1.5.tar.gz 1256888
-RMD160 723308722d76c12710db6473979adf8d086b0909 fftw-2.1.5.tar.gz 1256888
-SHA256 f8057fae1c7df8b99116783ef3e94a6a44518d49c72e2e630c24b689c6022630 fftw-2.1.5.tar.gz 1256888
diff --git a/sci-libs/fftw/files/digest-fftw-3.0.1 b/sci-libs/fftw/files/digest-fftw-3.0.1
deleted file mode 100644
index a837c11d9572..000000000000
--- a/sci-libs/fftw/files/digest-fftw-3.0.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 76cd21ecc9a7bed6343566c473c36477 fftw-3.0.1.tar.gz 1946361
-RMD160 075bbdf5da67bb29117f9f54864db26acd971034 fftw-3.0.1.tar.gz 1946361
-SHA256 14f2cf295eed74369c622db005fe34f57e74a5efbd3fb66144b8d6d284ce0cb1 fftw-3.0.1.tar.gz 1946361
diff --git a/sci-libs/fftw/files/digest-fftw-3.0.1-r1 b/sci-libs/fftw/files/digest-fftw-3.0.1-r1
deleted file mode 100644
index a837c11d9572..000000000000
--- a/sci-libs/fftw/files/digest-fftw-3.0.1-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 76cd21ecc9a7bed6343566c473c36477 fftw-3.0.1.tar.gz 1946361
-RMD160 075bbdf5da67bb29117f9f54864db26acd971034 fftw-3.0.1.tar.gz 1946361
-SHA256 14f2cf295eed74369c622db005fe34f57e74a5efbd3fb66144b8d6d284ce0cb1 fftw-3.0.1.tar.gz 1946361
diff --git a/sci-libs/fftw/files/digest-fftw-3.1 b/sci-libs/fftw/files/digest-fftw-3.1
deleted file mode 100644
index 5fec32e2df5b..000000000000
--- a/sci-libs/fftw/files/digest-fftw-3.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 911515569a8abdc7dbb207d53f34e60b fftw-3.1.tar.gz 2692325
-RMD160 af9f8a720daa60597416ca3ed3a54b8a789a6d44 fftw-3.1.tar.gz 2692325
-SHA256 e961dd3f7df9ec11cebf3a9c80752caee22a00fd149b36c7680f8da708e76bf7 fftw-3.1.tar.gz 2692325
diff --git a/sci-libs/fftw/files/digest-fftw-3.1.1 b/sci-libs/fftw/files/digest-fftw-3.1.1
deleted file mode 100644
index 1889f2e3babf..000000000000
--- a/sci-libs/fftw/files/digest-fftw-3.1.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b35813b88a046e4e74a603017794ddcd fftw-3.1.1.tar.gz 2719997
-RMD160 4236f43159a39e3bd9d34bda1b95ce82609d26b6 fftw-3.1.1.tar.gz 2719997
-SHA256 1d3e90da1aab15928586ef814784e217ac91bbac878906d82392b0d2e64aff0c fftw-3.1.1.tar.gz 2719997
diff --git a/sci-libs/fftw/files/fftw-3.0.1-amd64.patch b/sci-libs/fftw/files/fftw-3.0.1-amd64.patch
new file mode 100644
index 000000000000..d5df07581a92
--- /dev/null
+++ b/sci-libs/fftw/files/fftw-3.0.1-amd64.patch
@@ -0,0 +1,66 @@
+diff -uarN fftw-3.0.1.old/dft/k7/k7.c fftw-3.0.1/dft/k7/k7.c
+--- fftw-3.0.1.old/dft/k7/k7.c 2007-04-18 10:05:40.000000000 +0400
++++ fftw-3.0.1/dft/k7/k7.c 2007-04-18 10:08:57.000000000 +0400
+@@ -28,7 +28,7 @@
+ {
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return edx;
+@@ -38,7 +38,7 @@
+ {
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return eax;
+diff -uarN fftw-3.0.1.old/simd/3dnow.c fftw-3.0.1/simd/3dnow.c
+--- fftw-3.0.1.old/simd/3dnow.c 2007-04-18 10:05:41.000000000 +0400
++++ fftw-3.0.1/simd/3dnow.c 2007-04-18 10:08:31.000000000 +0400
+@@ -29,7 +29,7 @@
+ {
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return edx;
+@@ -39,7 +39,7 @@
+ {
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return eax;
+diff -uarN fftw-3.0.1.old/simd/sse2.c fftw-3.0.1/simd/sse2.c
+--- fftw-3.0.1.old/simd/sse2.c 2007-04-18 10:05:41.000000000 +0400
++++ fftw-3.0.1/simd/sse2.c 2007-04-18 10:08:14.000000000 +0400
+@@ -43,7 +43,7 @@
+ #else
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return edx;
+diff -uarN fftw-3.0.1.old/simd/sse.c fftw-3.0.1/simd/sse.c
+--- fftw-3.0.1.old/simd/sse.c 2007-04-18 10:05:41.000000000 +0400
++++ fftw-3.0.1/simd/sse.c 2007-04-18 10:08:04.000000000 +0400
+@@ -43,7 +43,7 @@
+ #else
+ int eax, ecx, edx;
+
+- __asm__("push %%ebx\n\tcpuid\n\tpop %%ebx"
++ __asm__("push %%rbx\n\tcpuid\n\tpop %%rbx"
+ : "=a" (eax), "=c" (ecx), "=d" (edx)
+ : "a" (op));
+ return edx;
diff --git a/sci-libs/fftw/files/fftw-ppc-macos.1.patch b/sci-libs/fftw/files/fftw-ppc-macos.1.patch
deleted file mode 100644
index bb068bdec222..000000000000
--- a/sci-libs/fftw/files/fftw-ppc-macos.1.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur fftw-3.1/tests/Makefile.in fftw-3.1-new/tests/Makefile.in
---- fftw-3.1/tests/Makefile.in 2006-01-28 00:19:55.000000000 +0000
-+++ fftw-3.1-new/tests/Makefile.in 2006-02-11 05:39:29.000000000 +0000
-@@ -233,9 +233,9 @@
- @COMBINED_THREADS_FALSE@@THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
- @THREADS_FALSE@LIBFFTWTHREADS =
- bench_SOURCES = bench.c hook.c
--bench_LDADD = $(LIBFFTWTHREADS) \
-+bench_LDADD = $(top_builddir)/libbench2/libbench2.a $(LIBFFTWTHREADS) \
- $(top_builddir)/libfftw3@PREC_SUFFIX@.la \
--$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
-+$(THREADLIBS)
-
- all: all-am
-
-diff -Naur fftw-3.1/tools/Makefile.in fftw-3.1-new/tools/Makefile.in
---- fftw-3.1/tools/Makefile.in 2006-01-28 00:19:56.000000000 +0000
-+++ fftw-3.1-new/tools/Makefile.in 2006-02-11 05:40:41.000000000 +0000
-@@ -246,9 +246,9 @@
- @COMBINED_THREADS_FALSE@@THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
- @THREADS_FALSE@LIBFFTWTHREADS =
- fftw@PREC_SUFFIX@_wisdom_SOURCES = fftw-wisdom.c
--fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o \
-+fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o $(top_builddir)/libbench2/libbench2.a \
- $(LIBFFTWTHREADS) $(top_builddir)/libfftw3@PREC_SUFFIX@.la \
--$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
-+$(THREADLIBS)
-
- all: $(BUILT_SOURCES)
- $(MAKE) $(AM_MAKEFLAGS) all-am