diff options
author | wiz <wiz@pkgsrc.org> | 2004-02-19 11:11:31 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-02-19 11:11:31 +0000 |
commit | c615341f6b7390f4d6db9477ebfd6009015c03f5 (patch) | |
tree | 9a6cc8c846731ccd78499f45ae304d0d32f91942 /math/fftw2 | |
parent | 23a561852ba7b937032694f2d17e0836f436f593 (diff) | |
download | pkgsrc-c615341f6b7390f4d6db9477ebfd6009015c03f5.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'math/fftw2')
-rw-r--r-- | math/fftw2/Makefile | 3 | ||||
-rw-r--r-- | math/fftw2/buildlink3.mk | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/math/fftw2/Makefile b/math/fftw2/Makefile index 07579c59fa6..2803a9b1247 100644 --- a/math/fftw2/Makefile +++ b/math/fftw2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/01/24 13:58:23 grant Exp $ +# $NetBSD: Makefile,v 1.6 2004/02/19 11:11:31 wiz Exp $ DISTNAME= fftw-2.1.5 PKGNAME= fftw2-2.1.5 @@ -15,6 +15,7 @@ CONFIGURE_ARGS= --enable-shared .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+= --enable-i386-hacks .endif +USE_BUILDLINK3= yes USE_FORTRAN= yes USE_GNU_TOOLS+= make USE_MAKEINFO= yes diff --git a/math/fftw2/buildlink3.mk b/math/fftw2/buildlink3.mk new file mode 100644 index 00000000000..8dc2f9660c2 --- /dev/null +++ b/math/fftw2/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:11:31 wiz Exp $ +# +# This Makefile fragment is included by packages that use fftw2. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +FFTW2_BUILDLINK3_MK:= ${FFTW2_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= fftw2 +.endif + +.if !empty(FFTW2_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= fftw2 +BUILDLINK_DEPENDS.fftw2+= fftw2>=2.1.3 +BUILDLINK_PKGSRCDIR.fftw2?= ../../math/fftw2 + +.endif # FFTW2_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |