diff options
author | sbd <sbd@pkgsrc.org> | 2012-02-21 21:04:29 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-02-21 21:04:29 +0000 |
commit | 10558986de6134a415de9cc1cd92457706560aad (patch) | |
tree | 01cbc6f3e132dcd181308d0c0cc8dc867e62e7a9 | |
parent | 90e77c475885a1261217de890337920c54f3ce9a (diff) | |
download | pkgsrc-10558986de6134a415de9cc1cd92457706560aad.tar.gz |
Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
PYTHON_VERSION_DEFAULT from that.
-rw-r--r-- | lang/python/pyversion.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk index e55a36742f1..d4f3c20045a 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.93 2012/01/28 12:14:08 joerg Exp $ +# $NetBSD: pyversion.mk,v 1.94 2012/02/21 21:04:29 sbd Exp $ # This file determines which Python version is used as a dependency for # a package. @@ -76,7 +76,8 @@ PYTHON_VERSION_REQD?= ${PKGNAME_OLD:C/(^.*-|^)py([0-9][0-9])-.*/\2/} BUILD_DEFS+= PYTHON_VERSION_DEFAULT BUILD_DEFS_EFFECTS+= PYPACKAGE -PYTHON_VERSION_DEFAULT?= 26 +_PYTHON_VERSION_DEFAULT= 26 +PYTHON_VERSION_DEFAULT?= ${_PYTHON_VERSION_DEFAULT} .if ${PYTHON_VERSIONS_INCLUDE_3X:U:tl} == "yes" PYTHON_VERSIONS_ACCEPTED?= 31 27 26 25 24 .else |