aboutsummaryrefslogtreecommitdiffstats
path: root/math/fftw3
diff options
context:
space:
mode:
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"