diff options
author | adam <adam@pkgsrc.org> | 2019-05-24 15:56:21 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-05-24 15:56:21 +0000 |
commit | c8ce0bc82b9ccfaf7708e92fd88f070f9f1f26fd (patch) | |
tree | 3177dab36e8168a674d892e8686359d1808bd0c0 /math | |
parent | 2775a5f8a02a0602d7e3aa0fb5631c2f43444011 (diff) | |
download | pkgsrc-c8ce0bc82b9ccfaf7708e92fd88f070f9f1f26fd.tar.gz |
fftw: introduce Makefile.common
Diffstat (limited to 'math')
-rw-r--r-- | math/fftw/Makefile.common | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/math/fftw/Makefile.common b/math/fftw/Makefile.common new file mode 100644 index 00000000000..3c0f12c2cee --- /dev/null +++ b/math/fftw/Makefile.common @@ -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 +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 |