summaryrefslogtreecommitdiff
path: root/math/fftwf/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/fftwf/buildlink3.mk')
-rw-r--r--math/fftwf/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/math/fftwf/buildlink3.mk b/math/fftwf/buildlink3.mk
index 21d8e9c70c3..c18b6c81c87 100644
--- a/math/fftwf/buildlink3.mk
+++ b/math/fftwf/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:24:56 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-FFTWF_BUILDLINK3_MK:= ${FFTWF_BUILDLINK3_MK}+
+BUILDLINK_TREE+= fftwf
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= fftwf
-.endif
+.if !defined(FFTWF_BUILDLINK3_MK)
+FFTWF_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftwf}
-BUILDLINK_PACKAGES+= fftwf
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fftwf
-
-.if !empty(FFTWF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fftwf+= fftwf>=3.0
BUILDLINK_ABI_DEPENDS.fftwf+= fftwf>=3.0.1nb1
BUILDLINK_PKGSRCDIR.fftwf?= ../../math/fftwf
-.endif # FFTWF_BUILDLINK3_MK
.include "../../math/fftw/buildlink3.mk"
+.endif # FFTWF_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -fftwf