pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Use Python 2.6 by default under Mac OS X i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1cd2faf68088
branches: trunk
changeset: 399560:1cd2faf68088
user: tron <tron%pkgsrc.org@localhost>
date: Tue Sep 22 13:46:09 2009 +0000
description:
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:
lang/python/pyversion.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r cbd0938a2bad -r 1cd2faf68088 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Tue Sep 22 13:32:35 2009 +0000
+++ b/lang/python/pyversion.mk Tue Sep 22 13:46:09 2009 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index