summaryrefslogtreecommitdiff
path: root/x11/gtk2
diff options
context:
space:
mode:
authorwiz <wiz>2009-03-25 09:13:16 +0000
committerwiz <wiz>2009-03-25 09:13:16 +0000
commit52a9920accba994d9e9ea5810f5e2cebc36d23d7 (patch)
tree2ed49dd1fb287c7c938bd8c943e2a770ed1312a7 /x11/gtk2
parentd654cdea7f857b6252e576f7578cf14b8b0a541c (diff)
downloadpkgsrc-52a9920accba994d9e9ea5810f5e2cebc36d23d7.tar.gz
gtk-builder-convert uses minidom from xml.dom, which needs expat.
Add dependency for py-expat for python23 and python24. Bump PKGREVISION. Should fix problem in gnome-keyring reported on pkgsrc-users by Uwe Klaus.
Diffstat (limited to 'x11/gtk2')
-rw-r--r--x11/gtk2/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index 20cea12edd9..c0995b5f549 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.169 2009/03/17 20:16:36 jmcneill Exp $
+# $NetBSD: Makefile,v 1.170 2009/03/25 09:13:16 wiz Exp $
DISTNAME= gtk+-2.16.0
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/2.16/ \
@@ -57,6 +57,11 @@ SUBST_SED.pthread= -e 's,__PTHREAD_FLAGS__,${BUILDLINK_LDFLAGS.pthread},g'
SUBST_FILES.pthread= gdk-pixbuf/Makefile.in
PYTHON_PATCH_SCRIPTS= gtk/gtk-builder-convert
+# gtk-builder-convert uses minidom from xml.dom, which needs expat
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == "py24" || ${PYPKGPREFIX} == "py23"
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
.include "options.mk"