summaryrefslogtreecommitdiff
path: root/www/py-gdata/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-gdata/buildlink3.mk')
-rw-r--r--www/py-gdata/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/www/py-gdata/buildlink3.mk b/www/py-gdata/buildlink3.mk
index f6cb7489d29..212f2c70749 100644
--- a/www/py-gdata/buildlink3.mk
+++ b/www/py-gdata/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 17:30:13 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:37 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PY_GDATA_BUILDLINK3_MK:= ${PY_GDATA_BUILDLINK3_MK}+
+BUILDLINK_TREE+= py-gdata
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= py-gdata
-.endif
+.if !defined(PY_GDATA_BUILDLINK3_MK)
+PY_GDATA_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gdata}
-BUILDLINK_PACKAGES+= py-gdata
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-gdata
-
-.if ${PY_GDATA_BUILDLINK3_MK} == "+"
.include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.py-gdata+= ${PYPKGPREFIX}-gdata>=1.2.1
BUILDLINK_PKGSRCDIR.py-gdata?= ../../www/py-gdata
-.endif # PY_GDATA_BUILDLINK3_MK
+.endif # PY_GDATA_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -py-gdata