aboutsummaryrefslogtreecommitdiffstats
path: root/math
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
parent64665150ae52afe6fd8137d619940154395e32d7 (diff)
downloadfreebsd-ports-graphics-e8f93155f07d41e712ada433fb572e1b97b15f71.tar.gz
freebsd-ports-graphics-e8f93155f07d41e712ada433fb572e1b97b15f71.tar.zst
freebsd-ports-graphics-e8f93155f07d41e712ada433fb572e1b97b15f71.zip
Update to 3.2.2
Diffstat (limited to 'math')
-rw-r--r--math/fftw3-fortran/Makefile2
-rw-r--r--math/fftw3-long-fortran/Makefile2
-rw-r--r--math/fftw3-long/Makefile4
-rw-r--r--math/fftw3/Makefile9
-rw-r--r--math/fftw3/distinfo6
5 files changed, 10 insertions, 13 deletions
diff --git a/math/fftw3-fortran/Makefile b/math/fftw3-fortran/Makefile
index 3592ee0ffc8..6bccbd1dd30 100644
--- a/math/fftw3-fortran/Makefile
+++ b/math/fftw3-fortran/Makefile
@@ -12,6 +12,4 @@ FFTW3_FLAVOR= default
FORTRAN_SHIM= yes
MASTERDIR= ${.CURDIR}/../../math/fftw3
-ONLY_FOR_ARCHS= i386 sparc64
-
.include "${MASTERDIR}/Makefile"
diff --git a/math/fftw3-long-fortran/Makefile b/math/fftw3-long-fortran/Makefile
index eef9c69e32f..ca010a5645f 100644
--- a/math/fftw3-long-fortran/Makefile
+++ b/math/fftw3-long-fortran/Makefile
@@ -12,6 +12,4 @@ FFTW3_FLAVOR= long
FORTRAN_SHIM= yes
MASTERDIR= ${.CURDIR}/../../math/fftw3
-ONLY_FOR_ARCHS= i386 sparc64
-
.include "${MASTERDIR}/Makefile"
diff --git a/math/fftw3-long/Makefile b/math/fftw3-long/Makefile
index 15c2227a950..26b1c715f52 100644
--- a/math/fftw3-long/Makefile
+++ b/math/fftw3-long/Makefile
@@ -5,13 +5,11 @@
# $FreeBSD$
# $MCom: ports-experimental/math/fftw3-long/Makefile,v 1.1 2006/03/28 00:08:58 ahze Exp $
-PORTREVISION= 1
+PORTREVISION= 0
COMMENT= Fast C routines (Long Double Precision)
FFTW3_FLAVOR= long
MASTERDIR= ${.CURDIR}/../../math/fftw3
-ONLY_FOR_ARCHS= i386 sparc64
-
.include "${MASTERDIR}/Makefile"
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 70f5c37db15..cf8a6976767 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@|'
diff --git a/math/fftw3/distinfo b/math/fftw3/distinfo
index d52768af6c8..c42c781f498 100644
--- a/math/fftw3/distinfo
+++ b/math/fftw3/distinfo
@@ -1,3 +1,3 @@
-MD5 (fftw-3.2.1.tar.gz) = 712d3f33625a0a76f5758648d4b925f7
-SHA256 (fftw-3.2.1.tar.gz) = 076a43a8000d331076181ea9e72a56a9cd050400535b7bb3fc2f53b707e712f5
-SIZE (fftw-3.2.1.tar.gz) = 3476044
+MD5 (fftw-3.2.2.tar.gz) = b616e5c91218cc778b5aa735fefb61ae
+SHA256 (fftw-3.2.2.tar.gz) = 6aa7ae65ee49eb99004f15899f9bb77f54759122f1a350041e81e096157d768f
+SIZE (fftw-3.2.2.tar.gz) = 3495117