From 200ef33649e7645f432574b41442bd9402492712 Mon Sep 17 00:00:00 2001 From: drochner Date: Sat, 2 Feb 2002 13:26:01 +0000 Subject: force an error if no usable Python version is found --- lang/python/pyversion.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang/python') diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk index d206ad0bad5..6ccdba074d5 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.7 2002/01/29 19:21:58 drochner Exp $ +# $NetBSD: pyversion.mk,v 1.8 2002/02/02 13:26:01 drochner Exp $ .if !defined(PYTHON_PYVERSION_MK) PYTHON_PYVERSION_MK= defined @@ -96,6 +96,9 @@ PYPKGPREFIX= py15 .if !defined(PYTHON_DISTUTILS_BOOTSTRAP) BUILD_DEPENDS+= py15-distutils-*:../../devel/py-distutils .endif +.else +# force an error + error: no valid Python version .endif PYTHONBIN= ${LOCALBASE}/bin/python${PYVERSSUFFIX} -- cgit v1.2.3