summaryrefslogtreecommitdiff
path: root/devel/py-gobject-shared/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-gobject-shared/buildlink3.mk')
-rw-r--r--devel/py-gobject-shared/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/py-gobject-shared/buildlink3.mk b/devel/py-gobject-shared/buildlink3.mk
index 3fda7328f5b..a39da92430b 100644
--- a/devel/py-gobject-shared/buildlink3.mk
+++ b/devel/py-gobject-shared/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2009/03/20 19:24:28 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PY_GOBJECT_SHARED_BUILDLINK3_MK:= ${PY_GOBJECT_SHARED_BUILDLINK3_MK}+
+BUILDLINK_TREE+= py-gobject-shared
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= py-gobject-shared
-.endif
+.if !defined(PY_GOBJECT_SHARED_BUILDLINK3_MK)
+PY_GOBJECT_SHARED_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gobject-shared}
-BUILDLINK_PACKAGES+= py-gobject-shared
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-gobject-shared
-
-.if ${PY_GOBJECT_SHARED_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=2.10.1
BUILDLINK_PKGSRCDIR.py-gobject-shared?= ../../devel/py-gobject-shared
BUILDLINK_DEPMETHOD.py-gobject-shared?= build
-.endif # PY_GOBJECT_SHARED_BUILDLINK3_MK
.include "../../devel/glib2/buildlink3.mk"
+.endif # PY_GOBJECT_SHARED_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -py-gobject-shared