summaryrefslogtreecommitdiff
path: root/chat/telepathy-gabble/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-07 22:57:49 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-07 22:57:49 +0000
commit1c4a110eb1f554f6cfc12c2d7b3d8310dbabb831 (patch)
treeafc2723991dda7e2d5d499449a12b7db46743027 /chat/telepathy-gabble/Makefile
parent2abd25c0954ec1e361f655f3b219c7966e24d948 (diff)
downloadpkgsrc-1c4a110eb1f554f6cfc12c2d7b3d8310dbabb831.tar.gz
More py-expat dependencies for Python 2.3 and 2.4.
Diffstat (limited to 'chat/telepathy-gabble/Makefile')
-rw-r--r--chat/telepathy-gabble/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/telepathy-gabble/Makefile b/chat/telepathy-gabble/Makefile
index 06ef6e13abc..bee286cced2 100644
--- a/chat/telepathy-gabble/Makefile
+++ b/chat/telepathy-gabble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/01/13 10:55:15 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/07 22:57:49 joerg Exp $
#
DISTNAME= telepathy-gabble-0.7.18
@@ -13,6 +13,11 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == "py24" || ${PYPKGPREFIX} == "py23" || ${PYPKGPREFIX} == "py21"
+BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
+
.include "../../chat/telepathy-glib/buildlink3.mk"
BUILDLINK_API_DEPENDS.loudmouth+= loudmouth>=1.3.2
.include "../../chat/loudmouth/buildlink3.mk"