summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-21 10:35:19 +0000
committerwiz <wiz>2008-12-21 10:35:19 +0000
commit6cd549fb21b5f1245d10b94f60ff4ee778c1ed3a (patch)
treea66ee6d4d6638ebbe8572b95d2f3101691b9303e /x11
parentce3472fe95c281a3ff0554e3c9b205d7734f34d8 (diff)
downloadpkgsrc-6cd549fb21b5f1245d10b94f60ff4ee778c1ed3a.tar.gz
py-expat only needed with Python 2.4, make it so.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-terminal/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile
index 32cea5c03a1..6d81a01cf54 100644
--- a/x11/gnome-terminal/Makefile
+++ b/x11/gnome-terminal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/12/21 09:53:35 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/12/21 10:35:19 wiz Exp $
#
DISTNAME= gnome-terminal-2.24.2
@@ -25,8 +25,10 @@ CONFIGURE_ENV+= ac_cv_path_GTK_BUILDER_CONVERT="${PYTHONBIN} ${BUILDLINK_PREFIX
GCONF_SCHEMAS= gnome-terminal.schemas
PYTHON_FOR_BUILD_ONLY= YES
-
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == "py24"
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
BUILDLINK_API_DEPENDS.GConf+= GConf>=2.14.0
.include "../../devel/GConf/schemas.mk"