aboutsummaryrefslogtreecommitdiffstats
path: root/math/fftw3/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2009-08-10 08:45:07 +0800
committerahze <ahze@FreeBSD.org>2009-08-10 08:45:07 +0800
commite8f93155f07d41e712ada433fb572e1b97b15f71 (patch)
tree31886135fd0663f3c60ddfa449c5f4bbfbf1479f /math/fftw3/Makefile
parent64665150ae52afe6fd8137d619940154395e32d7 (diff)
downloadfreebsd-ports-gnome-e8f93155f07d41e712ada433fb572e1b97b15f71.tar.gz
freebsd-ports-gnome-e8f93155f07d41e712ada433fb572e1b97b15f71.tar.zst
freebsd-ports-gnome-e8f93155f07d41e712ada433fb572e1b97b15f71.zip
Update to 3.2.2
Diffstat (limited to 'math/fftw3/Makefile')
-rw-r--r--math/fftw3/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 70f5c37db159..cf8a6976767a 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -6,8 +6,8 @@
# $MCom: ports-experimental/math/fftw3/Makefile,v 1.1 2006/03/28 00:08:57 ahze Exp $
PORTNAME= fftw3
-PORTVERSION= 3.2.1
-PORTREVISION?= 1
+PORTVERSION= 3.2.2
+PORTREVISION?= 0
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
ftp://ftp.fftw.org/pub/fftw/old/
@@ -84,7 +84,10 @@ FFTW3_PKGNAMESUFFIX= -float
CONFIGURE_ARGS+=--enable-float
.else
.if ${FFTW3_FLAVOR}=="long"
+. if ${OSVERSION} < 800000
+ONLY_FOR_ARCHS= i386 sparc64
LIB_DEPENDS+= ml.0:${PORTSDIR}/math/ldouble
+. endif
FFTW3_SUFX= l
.if defined(FORTRAN_SHIM)
FFTW3_PKGNAMESUFFIX= -long-fortran
@@ -122,7 +125,7 @@ post-patch:
s|fftw-wisdom-to-conf: $(top_builddir)/config.status||; \
s|bin_SCRIPTS = fftw-wisdom-to-conf||' \
${WRKSRC}/tools/Makefile.in
-.if ${FFTW3_FLAVOR}=="long"
+.if ${FFTW3_FLAVOR}=="long" && ${OSVERSION} < 800000
@${REINPLACE_CMD} -e 's|cosl sinl tanl||' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
's|@LIBS@|-lml @LIBS@|'