summaryrefslogtreecommitdiff
path: root/security/pakchois/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/pakchois/buildlink3.mk')
-rw-r--r--security/pakchois/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/pakchois/buildlink3.mk b/security/pakchois/buildlink3.mk
index b2b505d783e..22ab0e15663 100644
--- a/security/pakchois/buildlink3.mk
+++ b/security/pakchois/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:21 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PAKCHOIS_BUILDLINK3_MK:= ${PAKCHOIS_BUILDLINK3_MK}+
+BUILDLINK_TREE+= pakchois
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= pakchois
-.endif
+.if !defined(PAKCHOIS_BUILDLINK3_MK)
+PAKCHOIS_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npakchois}
-BUILDLINK_PACKAGES+= pakchois
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pakchois
-
-.if ${PAKCHOIS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.pakchois+= pakchois>=0.4
BUILDLINK_PKGSRCDIR.pakchois?= ../../security/pakchois
-.endif # PAKCHOIS_BUILDLINK3_MK
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
+.endif # PAKCHOIS_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -pakchois