pyversion.mk only needs to be included once.

This commit is contained in:
rillig 2006-05-28 17:57:31 +00:00
parent b306eaa8cb
commit f8db7fb82e

View file

@ -1,10 +1,8 @@
# $NetBSD: buildlink3.mk,v 1.5 2006/04/12 10:27:43 rillig Exp $
# $NetBSD: buildlink3.mk,v 1.6 2006/05/28 17:57:31 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GTK_BUILDLINK3_MK:= ${PY_GTK_BUILDLINK3_MK}+
.include "../../lang/python/pyversion.mk"
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pygtk
.endif
@ -13,6 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygtk}
BUILDLINK_PACKAGES+= pygtk
.if !empty(PY_GTK_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pygtk+= ${PYPKGPREFIX}-gtk>=0.6.9nb4
BUILDLINK_ABI_DEPENDS.pygtk+= ${PYPKGPREFIX}-gtk>=0.6.11nb2
BUILDLINK_PKGSRCDIR.pygtk?= ../../x11/pygtk