summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2004-07-09 21:57:17 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2004-07-09 21:57:17 +0000
commit4cc6eda13950ae71c35023aba4f4cd639b6131a5 (patch)
treeda477f372525899023a412aa93c077386e4a8415 /dev-libs/fftw
parentswitch linux-headers dependency to virtual/os-headers (Manifest recommit) (diff)
downloadgentoo-2-4cc6eda13950ae71c35023aba4f4cd639b6131a5.tar.gz
gentoo-2-4cc6eda13950ae71c35023aba4f4cd639b6131a5.tar.bz2
gentoo-2-4cc6eda13950ae71c35023aba4f4cd639b6131a5.zip
Fixed a compilation-error with Altivec
Diffstat (limited to 'dev-libs/fftw')
-rw-r--r--dev-libs/fftw/ChangeLog5
-rw-r--r--dev-libs/fftw/fftw-3.0.1-r1.ebuild12
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-libs/fftw/ChangeLog b/dev-libs/fftw/ChangeLog
index 39f3e619d8ec..899c4936d2cb 100644
--- a/dev-libs/fftw/ChangeLog
+++ b/dev-libs/fftw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/fftw
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.26 2004/07/03 09:59:21 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.27 2004/07/09 21:57:17 hansmi Exp $
+
+ 09 Jul 2004; Michael Hanselmann <hansmi@gentoo.org> fftw-3.0.1-r1.ebuild:
+ Fixed a compilation-error with Altivec and gcc 3.4.1
03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> fftw-3.0.1.ebuild:
Stable on alpha.
diff --git a/dev-libs/fftw/fftw-3.0.1-r1.ebuild b/dev-libs/fftw/fftw-3.0.1-r1.ebuild
index b7710f421078..36e0f9cab69f 100644
--- a/dev-libs/fftw/fftw-3.0.1-r1.ebuild
+++ b/dev-libs/fftw/fftw-3.0.1-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.6 2004/07/02 04:41:04 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.7 2004/07/09 21:57:17 hansmi Exp $
IUSE="3dnow sse mpi"
-inherit flag-o-matic
+inherit flag-o-matic eutils gcc
DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)"
SRC_URI="http://www.fftw.org/${P}.tar.gz"
@@ -56,8 +56,12 @@ src_compile() {
myconfdouble="$myconfdouble --enable-sse2"
elif use 3dnow; then
myconfsingle="$myconfsingle --enable-k7"
- elif use altivec; then
- myconfsingle="$myconfsingle --enable-altivec"
+ 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"