summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-03 16:11:31 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-03 16:11:31 +0000
commit394c166cc9cc28ed4213a9222bf71807efb8991c (patch)
treec9f211a6a467a84d19fa1d775f555572e7f9ce79 /dev-libs/fftw/fftw-3.0.1.ebuild
parentAdded to ~ppc (diff)
downloadgentoo-2-394c166cc9cc28ed4213a9222bf71807efb8991c.tar.gz
gentoo-2-394c166cc9cc28ed4213a9222bf71807efb8991c.tar.bz2
gentoo-2-394c166cc9cc28ed4213a9222bf71807efb8991c.zip
Fix use invocation
Diffstat (limited to 'dev-libs/fftw/fftw-3.0.1.ebuild')
-rw-r--r--dev-libs/fftw/fftw-3.0.1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-libs/fftw/fftw-3.0.1.ebuild b/dev-libs/fftw/fftw-3.0.1.ebuild
index 22aa611509f0..2f2e513e31df 100644
--- a/dev-libs/fftw/fftw-3.0.1.ebuild
+++ b/dev-libs/fftw/fftw-3.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1.ebuild,v 1.5 2004/03/23 03:44:40 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1.ebuild,v 1.6 2004/06/03 16:07:44 agriffis Exp $
IUSE="3dnow sse mpi"
@@ -26,7 +26,7 @@ filter-mfpmath
# according to the docs, -O0 can cause trouble too! So pending further
# testing, ...
-if [ `use sse` ]; then
+if use sse; then
filter-flags -O3 -O1 -O -Os
append-flags -O2
fi
@@ -51,10 +51,10 @@ src_compile() {
#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
+ if use sse; then
myconfsingle="$myconfsingle --enable-sse"
myconfdouble="$myconfdouble --enable-sse2"
- elif [ `use 3dnow` ]; then
+ elif use 3dnow; then
myconfsingle="$myconfsingle --enable-3dnow"
fi