diff options
author | tron <tron@pkgsrc.org> | 2009-09-22 13:46:09 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-09-22 13:46:09 +0000 |
commit | 9a8773f19c7b1595336d3d0d07c353691a379858 (patch) | |
tree | 4b0f498e619db70a697daeebbece3331343a557c /lang | |
parent | 9fb1b91d32b1a724dbfa21a0d9eeed39c8c0387f (diff) | |
download | pkgsrc-9a8773f19c7b1595336d3d0d07c353691a379858.tar.gz |
Use Python 2.6 by default under Mac OS X if we compile for the 64-Bit ABI.
Not even Apple were able to build a 64-Bit version of Python 2.5.
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 46996d15973..e477554a19a 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.74 2009/09/07 18:21:43 joerg Exp $ +# $NetBSD: pyversion.mk,v 1.75 2009/09/22 13:46:09 tron Exp $ # This file determines which Python version is used as a dependency for # a package. @@ -68,7 +68,11 @@ PYTHON_VERSION_REQD?= ${PKGNAME_OLD:C/(^.*-|^)py([0-9][0-9])-.*/\2/} BUILD_DEFS+= PYTHON_VERSION_DEFAULT BUILD_DEFS_EFFECTS+= PYPACKAGE +.if ${OPSYS} != "Darwin" || ${ABI} != "64" PYTHON_VERSION_DEFAULT?= 25 +.else +PYTHON_VERSION_DEFAULT?= 26 +.endif PYTHON_VERSIONS_ACCEPTED?= 26 25 24 PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default |