summaryrefslogtreecommitdiff
path: root/security/botan/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/botan/buildlink3.mk')
-rw-r--r--security/botan/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/botan/buildlink3.mk b/security/botan/buildlink3.mk
index 792599a4133..c3263fd7301 100644
--- a/security/botan/buildlink3.mk
+++ b/security/botan/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:25:16 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-BOTAN_BUILDLINK3_MK:= ${BOTAN_BUILDLINK3_MK}+
+BUILDLINK_TREE+= botan
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= botan
-.endif
+.if !defined(BOTAN_BUILDLINK3_MK)
+BOTAN_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbotan}
-BUILDLINK_PACKAGES+= botan
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}botan
-
-.if !empty(BOTAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.botan+= botan>=1.4.11
BUILDLINK_PKGSRCDIR.botan?= ../../security/botan
-.endif # BOTAN_BUILDLINK3_MK
+.endif # BOTAN_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -botan