summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorsbd <sbd>2012-02-21 21:04:29 +0000
committersbd <sbd>2012-02-21 21:04:29 +0000
commit706b79126077e076c3e81a47359ed6be1ff4f2bc (patch)
tree01cbc6f3e132dcd181308d0c0cc8dc867e62e7a9 /lang/python
parenta5aaba77ee65be217035b230e93582760a4b5d66 (diff)
downloadpkgsrc-706b79126077e076c3e81a47359ed6be1ff4f2bc.tar.gz
Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
PYTHON_VERSION_DEFAULT from that.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk5
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