summaryrefslogtreecommitdiff
path: root/math/fftw
diff options
context:
space:
mode:
authorsnj <snj>2004-04-27 00:35:46 +0000
committersnj <snj>2004-04-27 00:35:46 +0000
commitf79beb19fb0d0878d0d2f5cc5625cd72de1dedb5 (patch)
tree738944843eb3f02c69e0a63c93da3da7d4a771b6 /math/fftw
parent12211ba95917a89c033b70da53013cd6e2aad868 (diff)
downloadpkgsrc-f79beb19fb0d0878d0d2f5cc5625cd72de1dedb5.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/+$//}