summaryrefslogtreecommitdiff
path: root/chat
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
parent2abd25c0954ec1e361f655f3b219c7966e24d948 (diff)
downloadpkgsrc-1c4a110eb1f554f6cfc12c2d7b3d8310dbabb831.tar.gz
More py-expat dependencies for Python 2.3 and 2.4.
Diffstat (limited to 'chat')
-rw-r--r--chat/telepathy-gabble/Makefile7
-rw-r--r--chat/telepathy-idle/Makefile7
2 files changed, 12 insertions, 2 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"
diff --git a/chat/telepathy-idle/Makefile b/chat/telepathy-idle/Makefile
index fcf0d2c76d8..7f81e984677 100644
--- a/chat/telepathy-idle/Makefile
+++ b/chat/telepathy-idle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/14 23:00:12 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/07 22:57:49 joerg Exp $
#
DISTNAME= telepathy-idle-0.1.2
@@ -16,6 +16,11 @@ USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= OPENSSL_CFLAGS=-I${BUILDLINK_PREFIX.openssl}/include
CONFIGURE_ARGS+= OPENSSL_LIBS="-L${BUILDLINK_PREFIX.openssl}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib -lssl"
+.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"
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/application.mk"