aboutsummaryrefslogtreecommitdiffstats
path: root/math/fftw3
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-27 22:16:45 +0800
committerpav <pav@FreeBSD.org>2004-06-27 22:16:45 +0800
commit946370108964e86963e8cf08849777b2ccecd20b (patch)
tree1e9081dd827357cfd81ab283e8705aeec09ae75d /math/fftw3
parentf038e4a6649f200277926ca35ebb6b75043c84be (diff)
downloadfreebsd-ports-gnome-946370108964e86963e8cf08849777b2ccecd20b.tar.gz
freebsd-ports-gnome-946370108964e86963e8cf08849777b2ccecd20b.tar.zst
freebsd-ports-gnome-946370108964e86963e8cf08849777b2ccecd20b.zip
- Fix WITH_SSE on 4.x by using gcc-3.3
- Update MASTER_SITES PR: ports/68407 Submitted by: michael johnson <ahze@rgv.net> (maintainer)
Diffstat (limited to 'math/fftw3')
-rw-r--r--math/fftw3/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index fbde20f55ccc..a53e79961240 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 3.0.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
- ftp://ftp.fftw.org/pub/fftw/old/ \
+ http://www.fftw.org/ \
ftp://theory.lcs.mit.edu/pub/fftw/ \
ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/
DISTNAME= fftw-${PORTVERSION}
@@ -54,6 +54,9 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O:N-O*} -O3 -fomit-frame-pointer -fno-schedul
.endif
.if defined(WITH_SSE)
+.if ${OSVERSION} < 500000
+USE_GCC= 3.3
+.endif
CONFIGURE_ARGS+=--enable-sse2
CONFIGURE_ARGS_FFTW3F+=--enable-sse
CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O:N-O*} -O2"