pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftw fftw: introduce Makefile.common
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9cef2979347
branches: trunk
changeset: 396199:f9cef2979347
user: adam <adam%pkgsrc.org@localhost>
date: Fri May 24 15:56:21 2019 +0000
description:
fftw: introduce Makefile.common
diffstat:
math/fftw/Makefile.common | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diffs (37 lines):
diff -r c891247b2979 -r f9cef2979347 math/fftw/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fftw/Makefile.common Fri May 24 15:56:21 2019 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile.common,v 1.1 2019/05/24 15:56:21 adam Exp $
+# used by math/fftw/Makefile
+# used by math/fftwf/Makefile
+
+DISTNAME= fftw-3.3.8
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/
+MASTER_SITES+= http://www.fftw.org/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.fftw.org/
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-shared
+TEST_TARGET= check
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
+USE_TOOLS+= perl
+.endif
+
+PLIST_VARS+= pthreads
+PTHREAD_OPTS= native
+.include "../../mk/pthread.buildlink3.mk"
+.if ${PTHREAD_TYPE} == "native"
+CONFIGURE_ARGS+= --enable-threads
+PLIST.pthreads= yes
+.endif
Home |
Main Index |
Thread Index |
Old Index