pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Updating math/fftwf?



Hi,

this package is currently broken because the distribution site no
longer has the dist file for version 3.1.2 available.  The
current release is 3.2, and the attached patch updates this
package to it.  3.2 is also the version math/fftw is updated to
already.

I've run "make test" on both i386 and macppc (NetBSD/4.0), and it
passed the tests on both platforms.  Can anyone see any reason I
should not update this package with the attached patch?

Regards,

- Håvard
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/fftwf/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    15 Mar 2008 14:18:39 -0000      1.7
+++ Makefile    17 Jan 2009 21:01:27 -0000
@@ -1,11 +1,7 @@
 # $NetBSD: Makefile,v 1.7 2008/03/15 14:18:39 joerg Exp $
 
-.if (${MACHINE_ARCH} == "powerpc")
-DISTNAME=              fftw-3.1.2-fma
-.else
-DISTNAME=              fftw-3.1.2
-.endif
-PKGNAME=               fftwf-3.1.2
+DISTNAME=              fftw-3.2
+PKGNAME=               fftwf-3.2
 CATEGORIES=            math
 MASTER_SITES=          ftp://ftp.fftw.org/pub/fftw/ \
                        http://www.fftw.org/
@@ -22,7 +18,7 @@ GNU_CONFIGURE=                yes
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --enable-float
 
-DEPENDS+=              fftw>=3.1.2:../../math/fftw
+DEPENDS+=              fftw>=3.2:../../math/fftw
 
 .if (${MACHINE_ARCH} == "i386")
 #CONFIGURE_ARGS+=      --enable-sse
@@ -30,6 +26,8 @@ CONFIGURE_ARGS+=      --with-our-malloc16
 .endif
 USE_LANGUAGES=         c fortran
 USE_TOOLS+=            gmake
+# For the "test" target:
+USE_TOOLS+=            perl
 
 TEST_TARGET=           check
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/math/fftwf/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    15 Nov 2006 01:11:13 -0000      1.2
+++ distinfo    17 Jan 2009 21:01:27 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.2 2006/11/15 01:11:13 wulf Exp $
 
-SHA1 (fftw-3.1.2.tar.gz) = 3e4c64009ffb48123a0f30f46c1d89da7810dc67
-RMD160 (fftw-3.1.2.tar.gz) = 13069b3582eeaa1fba1614cdca2dfbc2e45ab585
-Size (fftw-3.1.2.tar.gz) = 2736360 bytes
+SHA1 (fftw-3.2.tar.gz) = 7ec19356191ffa3719294a5373f27b75c04c301b
+RMD160 (fftw-3.2.tar.gz) = 26f686e793f0fafedefa352b38058e76c9ca698c
+Size (fftw-3.2.tar.gz) = 3670044 bytes


Home | Main Index | Thread Index | Old Index