diff options
author | abs <abs@pkgsrc.org> | 2008-04-11 15:37:30 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2008-04-11 15:37:30 +0000 |
commit | 838f71cf622bc2e645e704488b7866cb32b69ebf (patch) | |
tree | e9ebb0713b19f5932c25a2137fdb9a1465ae2725 /lang | |
parent | e346e4ec0a830dcd97f1065c8bbf367ef01cc5d5 (diff) | |
download | pkgsrc-838f71cf622bc2e645e704488b7866cb32b69ebf.tar.gz |
only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile found
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/pyversion.mk | 6 |
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 |