summaryrefslogtreecommitdiff
path: root/security/pcsc-lite/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/pcsc-lite/buildlink3.mk')
-rw-r--r--security/pcsc-lite/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/pcsc-lite/buildlink3.mk b/security/pcsc-lite/buildlink3.mk
index 86845b86f32..34033eec5c1 100644
--- a/security/pcsc-lite/buildlink3.mk
+++ b/security/pcsc-lite/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.2 2008/03/04 15:52:15 shannonjr Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:21 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PCSC_LITE_BUILDLINK3_MK:= ${PCSC_LITE_BUILDLINK3_MK}+
+BUILDLINK_TREE+= pcsc-lite
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= pcsc-lite
-.endif
+.if !defined(PCSC_LITE_BUILDLINK3_MK)
+PCSC_LITE_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcsc-lite}
-BUILDLINK_PACKAGES+= pcsc-lite
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcsc-lite
-
-.if ${PCSC_LITE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.pcsc-lite+= pcsc-lite>=1.4.99
BUILDLINK_PKGSRCDIR.pcsc-lite?= ../../security/pcsc-lite
-.endif # PCSC_LITE_BUILDLINK3_MK
.include "../../devel/libusb/buildlink3.mk"
+.endif # PCSC_LITE_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -pcsc-lite