From 52a9920accba994d9e9ea5810f5e2cebc36d23d7 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 25 Mar 2009 09:13:16 +0000 Subject: 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. --- x11/gtk2/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'x11/gtk2') 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" -- cgit v1.2.3