pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftw If a native pthreads implementation is avail...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3816c6fb38f8
branches: trunk
changeset: 610419:3816c6fb38f8
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Oct 24 08:57:46 2012 +0000
description:
If a native pthreads implementation is available, also install
libfftw3_threads. Bump PKGREVISION.
diffstat:
math/fftw/Makefile | 13 +++++++++++--
math/fftw/PLIST | 3 ++-
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 8c7812f1dae2 -r 3816c6fb38f8 math/fftw/Makefile
--- a/math/fftw/Makefile Wed Oct 24 08:33:51 2012 +0000
+++ b/math/fftw/Makefile Wed Oct 24 08:57:46 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2012/10/03 21:56:36 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2012/10/24 08:57:46 wiz Exp $
DISTNAME= fftw-3.3.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
http://www.fftw.org/
@@ -30,4 +30,13 @@
USE_TOOLS+= perl
.endif
+PLIST_VARS+= pthreads
+
+PTHREAD_OPTS= native
+.include "../../mk/pthread.buildlink3.mk"
+.if !empty(PTHREAD_TYPE:Mnative)
+CONFIGURE_ARGS+= --enable-threads
+PLIST.pthreads= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff -r 8c7812f1dae2 -r 3816c6fb38f8 math/fftw/PLIST
--- a/math/fftw/PLIST Wed Oct 24 08:33:51 2012 +0000
+++ b/math/fftw/PLIST Wed Oct 24 08:57:46 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2012/03/03 11:45:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2012/10/24 08:57:46 wiz Exp $
bin/fftw-wisdom
bin/fftw-wisdom-to-conf
include/fftw3.f
@@ -8,6 +8,7 @@
include/fftw3q.f03
info/fftw3.info
lib/libfftw3.la
+${PLIST.pthreads}lib/libfftw3_threads.la
lib/pkgconfig/fftw3.pc
man/man1/fftw-wisdom-to-conf.1
man/man1/fftw-wisdom.1
Home |
Main Index |
Thread Index |
Old Index