summaryrefslogtreecommitdiff
path: root/sysutils/hal/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hal/buildlink3.mk')
-rw-r--r--sysutils/hal/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/sysutils/hal/buildlink3.mk b/sysutils/hal/buildlink3.mk
index 11e9240c02e..09a7589c968 100644
--- a/sysutils/hal/buildlink3.mk
+++ b/sysutils/hal/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/22 15:20:51 jmcneill Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:24 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-HAL_BUILDLINK3_MK:= ${HAL_BUILDLINK3_MK}+
+BUILDLINK_TREE+= hal
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= hal
-.endif
+.if !defined(HAL_BUILDLINK3_MK)
+HAL_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhal}
-BUILDLINK_PACKAGES+= hal
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hal
-
-.if ${HAL_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.hal+= hal>=0.5.11
BUILDLINK_PKGSRCDIR.hal?= ../../sysutils/hal
-.endif # HAL_BUILDLINK3_MK
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif # HAL_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -hal