summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-12-21 10:35:19 +0000
committerwiz <wiz@pkgsrc.org>2008-12-21 10:35:19 +0000
commit713584ca8c442df47dfa7e55a87d951afc0a1ff5 (patch)
treea66ee6d4d6638ebbe8572b95d2f3101691b9303e /chat
parentea2694451d2e9e2af4a04ce42af6ea5d3a6b04d2 (diff)
downloadpkgsrc-713584ca8c442df47dfa7e55a87d951afc0a1ff5.tar.gz
py-expat only needed with Python 2.4, make it so.
Diffstat (limited to 'chat')
-rw-r--r--chat/telepathy-glib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/chat/telepathy-glib/Makefile b/chat/telepathy-glib/Makefile
index 98212dd53ff..d340234d597 100644
--- a/chat/telepathy-glib/Makefile
+++ b/chat/telepathy-glib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/12/21 09:55:04 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/12/21 10:36:00 wiz Exp $
#
DISTNAME= telepathy-glib-0.7.18
@@ -15,7 +15,10 @@ USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= telepathy-glib/telepathy-glib.pc.in
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == "py24"
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
.include "../../devel/glib2/buildlink3.mk"