summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorabs <abs>2008-04-11 15:37:30 +0000
committerabs <abs>2008-04-11 15:37:30 +0000
commite6f186d6d9a73e9ac6e62d29e298d462b94ca445 (patch)
treee9ebb0713b19f5932c25a2137fdb9a1465ae2725 /lang/python
parent4d6cab77d25a49dcd1ab7fcc9c53cbd7b522aa5f (diff)
downloadpkgsrc-e6f186d6d9a73e9ac6e62d29e298d462b94ca445.tar.gz
only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile found
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index bacfd372126..66368c22bff 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.54 2008/04/11 13:10:15 abs Exp $
+# $NetBSD: pyversion.mk,v 1.55 2008/04/11 15:37:30 abs Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -65,7 +65,11 @@ PYTHON_VERSION_DEFAULT?= 24
.if ${OPSYS} == "Darwin"
PYTHON_VERSIONS_INCOMPATIBLE+= 22 21 20 15
.endif
+.if exists(../../wip/python25/Makefile)
PYTHON_VERSIONS_ACCEPTED?= 25 24 23 22 21 20
+.else
+PYTHON_VERSIONS_ACCEPTED?= 24 23 22 21 20
+.endif
PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default
BUILDLINK_API_DEPENDS.python15?= python15>=1.5