pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk2 gtk-builder-convert uses minidom from xml.dom...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04d191774960
branches:  trunk
changeset: 556637:04d191774960
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 25 09:13:16 2009 +0000

description:
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:

 x11/gtk2/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 05edbe8ce08a -r 04d191774960 x11/gtk2/Makefile
--- a/x11/gtk2/Makefile Wed Mar 25 06:55:21 2009 +0000
+++ b/x11/gtk2/Makefile Wed Mar 25 09:13:16 2009 +0000
@@ -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_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"
 



Home | Main Index | Thread Index | Old Index