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
commitb5da0557100372031e6dd2f0b89a3e39464da2a3 (patch)
tree7db1ef7230c8ee3231f7410b4b7a9f72062a881a /security/py-lasso
parent92169c6e54884353b5d1af6428249222abf7cf0c (diff)
downloadpkgsrc-b5da0557100372031e6dd2f0b89a3e39464da2a3.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