33 lines
770 B
Text
33 lines
770 B
Text
# $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
|