summaryrefslogtreecommitdiff
path: root/math/fftw
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-27 00:35:46 +0000
committersnj <snj@pkgsrc.org>2004-04-27 00:35:46 +0000
commitec9140696ec977925340785a576bd8b873ddb60f (patch)
tree738944843eb3f02c69e0a63c93da3da7d4a771b6 /math/fftw
parent2046a2f8a0ff0d1a04cc34518ad6ba05ba3bfc2e (diff)
downloadpkgsrc-ec9140696ec977925340785a576bd8b873ddb60f.tar.gz
Add a buildlink3.mk.
Diffstat (limited to 'math/fftw')
-rw-r--r--math/fftw/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/fftw/buildlink3.mk b/math/fftw/buildlink3.mk
new file mode 100644
index 00000000000..d5ad30856be
--- /dev/null
+++ b/math/fftw/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 00:35:46 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FFTW_BUILDLINK3_MK:= ${FFTW_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fftw
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftw}
+BUILDLINK_PACKAGES+= fftw
+
+.if !empty(FFTW_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.fftw+= fftw>=3.0
+BUILDLINK_PKGSRCDIR.fftw?= ../../math/fftw
+.endif # FFTW_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}