Wed Oct 24 08:57:46 2012 UTC ()
If a native pthreads implementation is available, also install
libfftw3_threads. Bump PKGREVISION.


(wiz)
diff -r1.40 -r1.41 pkgsrc/math/fftw/Makefile
diff -r1.11 -r1.12 pkgsrc/math/fftw/PLIST

cvs diff -r1.40 -r1.41 pkgsrc/math/fftw/Makefile (expand / switch to unified diff)

--- pkgsrc/math/fftw/Makefile 2012/10/03 21:56:36 1.40
+++ pkgsrc/math/fftw/Makefile 2012/10/24 08:57:46 1.41
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.40 2012/10/03 21:56:36 wiz Exp $ 1# $NetBSD: Makefile,v 1.41 2012/10/24 08:57:46 wiz Exp $
2 2
3DISTNAME= fftw-3.3.2 3DISTNAME= fftw-3.3.2
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= math 5CATEGORIES= math
6MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \ 6MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
7 http://www.fftw.org/ 7 http://www.fftw.org/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.fftw.org/ 10HOMEPAGE= http://www.fftw.org/
11COMMENT= Collection of fast C routines to compute DFTs 11COMMENT= Collection of fast C routines to compute DFTs
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14PKG_INSTALLATION_TYPES= overwrite pkgviews 14PKG_INSTALLATION_TYPES= overwrite pkgviews
15 15
16USE_LANGUAGES= c fortran77 16USE_LANGUAGES= c fortran77
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
@@ -20,14 +20,23 @@ GNU_CONFIGURE= yes @@ -20,14 +20,23 @@ GNU_CONFIGURE= yes
20CONFIGURE_ARGS+= --enable-shared 20CONFIGURE_ARGS+= --enable-shared
21 21
22PKGCONFIG_OVERRIDE+= fftw.pc.in 22PKGCONFIG_OVERRIDE+= fftw.pc.in
23INFO_FILES= yes 23INFO_FILES= yes
24 24
25TEST_TARGET= check 25TEST_TARGET= check
26 26
27.include "../../mk/bsd.prefs.mk" 27.include "../../mk/bsd.prefs.mk"
28 28
29.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) 29.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
30USE_TOOLS+= perl 30USE_TOOLS+= perl
31.endif 31.endif
32 32
 33PLIST_VARS+= pthreads
 34
 35PTHREAD_OPTS= native
 36.include "../../mk/pthread.buildlink3.mk"
 37.if !empty(PTHREAD_TYPE:Mnative)
 38CONFIGURE_ARGS+= --enable-threads
 39PLIST.pthreads= yes
 40.endif
 41
33.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"

cvs diff -r1.11 -r1.12 pkgsrc/math/fftw/PLIST (expand / switch to unified diff)

--- pkgsrc/math/fftw/PLIST 2012/03/03 11:45:07 1.11
+++ pkgsrc/math/fftw/PLIST 2012/10/24 08:57:46 1.12
@@ -1,13 +1,14 @@ @@ -1,13 +1,14 @@
1@comment $NetBSD: PLIST,v 1.11 2012/03/03 11:45:07 adam Exp $ 1@comment $NetBSD: PLIST,v 1.12 2012/10/24 08:57:46 wiz Exp $
2bin/fftw-wisdom 2bin/fftw-wisdom
3bin/fftw-wisdom-to-conf 3bin/fftw-wisdom-to-conf
4include/fftw3.f 4include/fftw3.f
5include/fftw3.f03 5include/fftw3.f03
6include/fftw3.h 6include/fftw3.h
7include/fftw3l.f03 7include/fftw3l.f03
8include/fftw3q.f03 8include/fftw3q.f03
9info/fftw3.info 9info/fftw3.info
10lib/libfftw3.la 10lib/libfftw3.la
 11${PLIST.pthreads}lib/libfftw3_threads.la
11lib/pkgconfig/fftw3.pc 12lib/pkgconfig/fftw3.pc
12man/man1/fftw-wisdom-to-conf.1 13man/man1/fftw-wisdom-to-conf.1
13man/man1/fftw-wisdom.1 14man/man1/fftw-wisdom.1