summaryrefslogtreecommitdiff
path: root/geography/gpsd/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'geography/gpsd/buildlink3.mk')
-rw-r--r--geography/gpsd/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/geography/gpsd/buildlink3.mk b/geography/gpsd/buildlink3.mk
index bc63dc409b7..32779b69654 100644
--- a/geography/gpsd/buildlink3.mk
+++ b/geography/gpsd/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2009/03/10 23:12:29 gdt Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:35 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-GPSD_BUILDLINK3_MK:= ${GPSD_BUILDLINK3_MK}+
+BUILDLINK_TREE+= gpsd
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= gpsd
-.endif
+.if !defined(GPSD_BUILDLINK3_MK)
+GPSD_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpsd}
-BUILDLINK_PACKAGES+= gpsd
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpsd
-
-.if ${GPSD_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.gpsd+= gpsd>=2.37nb1
BUILDLINK_PKGSRCDIR.gpsd?= ../../geography/gpsd
-.endif # GPSD_BUILDLINK3_MK
+.endif # GPSD_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -gpsd