summaryrefslogtreecommitdiff
path: root/devel/syncdir/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/syncdir/buildlink3.mk')
-rw-r--r--devel/syncdir/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/syncdir/buildlink3.mk b/devel/syncdir/buildlink3.mk
index e0837abbe49..446c63202c1 100644
--- a/devel/syncdir/buildlink3.mk
+++ b/devel/syncdir/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:24:30 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-SYNCDIR_BUILDLINK3_MK:= ${SYNCDIR_BUILDLINK3_MK}+
+BUILDLINK_TREE+= syncdir
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= syncdir
-.endif
+.if !defined(SYNCDIR_BUILDLINK3_MK)
+SYNCDIR_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsyncdir}
-BUILDLINK_PACKAGES+= syncdir
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}syncdir
-
-.if !empty(SYNCDIR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.syncdir+= syncdir>=1.0
BUILDLINK_ABI_DEPENDS.syncdir+= syncdir>=1.0nb1
BUILDLINK_PKGSRCDIR.syncdir?= ../../devel/syncdir
-.endif # SYNCDIR_BUILDLINK3_MK
+.endif # SYNCDIR_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -syncdir