blob: 3c0f12c2cee51cf81c1be07856ed58d3e147870e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|