summaryrefslogtreecommitdiff
path: root/x11/py-gnome2-extras/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/py-gnome2-extras/buildlink3.mk')
-rw-r--r--x11/py-gnome2-extras/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/py-gnome2-extras/buildlink3.mk b/x11/py-gnome2-extras/buildlink3.mk
index e63c487b105..082e873fef5 100644
--- a/x11/py-gnome2-extras/buildlink3.mk
+++ b/x11/py-gnome2-extras/buildlink3.mk
@@ -1,24 +1,17 @@
-# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 17:30:13 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2009/03/20 19:25:49 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PYGNOME2EX_BUILDLINK3_MK:= ${PYGNOME2EX_BUILDLINK3_MK}+
+BUILDLINK_TREE+= pygnome2ex
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= pygnome2ex
-.endif
+.if !defined(PYGNOME2EX_BUILDLINK3_MK)
+PYGNOME2EX_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygnome2ex}
-BUILDLINK_PACKAGES+= pygnome2ex
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygnome2ex
-
-.if ${PYGNOME2EX_BUILDLINK3_MK} == "+"
.include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pygnome2ex+= ${PYPKGPREFIX}-gnome2-extras>=2.12.0nb3
BUILDLINK_ABI_DEPENDS.pygnome2ex+= ${PYPKGPREFIX}-gnome2-extras>=2.12.0nb7
BUILDLINK_PKGSRCDIR.pygnome2ex?= ../../x11/py-gnome2-extras
-.endif # PYGNOME2EX_BUILDLINK3_MK
.include "../../x11/py-gnome2/buildlink3.mk"
+.endif # PYGNOME2EX_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -pygnome2ex