summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2009-09-25 13:36:19 +0000
committertron <tron@pkgsrc.org>2009-09-25 13:36:19 +0000
commit5d600156b894f35b7249d960166a7bf4bbc280ca (patch)
tree9d7adce9fd6cbbe504465a29c9bb21e0755b3adf /lang/python
parentaf85783cf61148afa7775ba7da5a3d777ea57b24 (diff)
downloadpkgsrc-5d600156b894f35b7249d960166a7bf4bbc280ca.tar.gz
Re-do last change to avoid problems on Mac OS X older than Snow Leopard.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index e477554a19a..36a819cc5da 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.75 2009/09/22 13:46:09 tron Exp $
+# $NetBSD: pyversion.mk,v 1.76 2009/09/25 13:36:19 tron Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -68,7 +68,7 @@ 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"
+.if empty(MACHINE_PLATFORM:MDarwin-*.*-x86_64)
PYTHON_VERSION_DEFAULT?= 25
.else
PYTHON_VERSION_DEFAULT?= 26