diff options
author | schmonz <schmonz> | 2002-11-23 00:54:44 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2002-11-23 00:54:44 +0000 |
commit | 9cd1ecd24dfd04a9276f04eee5d5d2d132962377 (patch) | |
tree | 44ce7c8de86b39eb76e6cb1c6229bf61a7c35a24 /lang | |
parent | daa87757184c95496943fbfde27cc4210a05acaa (diff) | |
download | pkgsrc-9cd1ecd24dfd04a9276f04eee5d5d2d132962377.tar.gz |
On Darwin, since it's currently the only Python that's usable there,
force PYTHON_VERSIONS_ACCEPTED to "22".
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 ba6bbe4a81c..9ec2d29843b 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.16 2002/10/30 22:36:16 tsarna Exp $ +# $NetBSD: pyversion.mk,v 1.17 2002/11/23 00:54:44 schmonz Exp $ .if !defined(PYTHON_PYVERSION_MK) PYTHON_PYVERSION_MK= defined @@ -6,7 +6,11 @@ PYTHON_PYVERSION_MK= defined .include "../../mk/bsd.prefs.mk" PYTHON_VERSION_DEFAULT?= 22 +.if ${OPSYS} == "Darwin" +PYTHON_VERSIONS_ACCEPTED= 22 # the only one that builds +.else PYTHON_VERSIONS_ACCEPTED?= 22 21 20 +.endif BUILDLINK_DEPENDS.python15?= python15>=1.5 BUILDLINK_DEPENDS.python20?= python20>=2.0 |