summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-25 09:13:16 +0000
committerwiz <wiz@pkgsrc.org>2009-03-25 09:13:16 +0000
commitc684d6a4d2dcb1e6594b817c8c61f2188719614a (patch)
tree2ed49dd1fb287c7c938bd8c943e2a770ed1312a7
parent3e4f1cc48217a802f48e121ab58f4be21e3b859f (diff)
downloadpkgsrc-c684d6a4d2dcb1e6594b817c8c61f2188719614a.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.
-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"