summaryrefslogtreecommitdiff
path: root/security/py-lasso
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-10-10 11:38:55 +0000
committerobache <obache@pkgsrc.org>2010-10-10 11:38:55 +0000
commite45d426260cdfd58d136c6f7149a6b4459e6677d (patch)
tree7db1ef7230c8ee3231f7410b4b7a9f72062a881a /security/py-lasso
parent41dd9e27bf9f3766500046051785ccd9c359feec (diff)
downloadpkgsrc-e45d426260cdfd58d136c6f7149a6b4459e6677d.tar.gz
require elementtree module to build for python24.
Diffstat (limited to 'security/py-lasso')
-rw-r--r--security/py-lasso/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/py-lasso/Makefile b/security/py-lasso/Makefile
index ef883605e98..404ce2a4528 100644
--- a/security/py-lasso/Makefile
+++ b/security/py-lasso/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/07/01 15:08:14 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/10/10 11:38:55 obache Exp $
#
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -7,7 +7,12 @@ COMMENT= Libery Alliance Single Sign On binding for Python
PKG_DESTDIR_SUPPORT= user-destdir
+.include "../../lang/python/pyversion.mk"
+
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.if ${PYPKGPREFIX} == "py24"
+BUILD_DEPENDS+= ${PYPKGPREFIX}-elementtree-[0-9]*:../../textproc/py-elementtree
+.endif
CONFIGURE_ARGS+= --disable-php4
CONFIGURE_ARGS+= --disable-perl