summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/+$//}