summaryrefslogtreecommitdiff
path: root/chat/telepathy-glib
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 /chat/telepathy-glib
parentce3472fe95c281a3ff0554e3c9b205d7734f34d8 (diff)
downloadpkgsrc-6cd549fb21b5f1245d10b94f60ff4ee778c1ed3a.tar.gz
py-expat only needed with Python 2.4, make it so.
Diffstat (limited to 'chat/telepathy-glib')
-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"