summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-02-02 13:26:01 +0000
committerdrochner <drochner@pkgsrc.org>2002-02-02 13:26:01 +0000
commit1175e03cbfbe36166d0086567ffd5e5df01542eb (patch)
tree7fe9c2d24bf940dc23fd002f5f6007119b5ae24b /lang/python
parent0d1e80531e7380ab21862358a97a9bdb6d0a83c4 (diff)
downloadpkgsrc-1175e03cbfbe36166d0086567ffd5e5df01542eb.tar.gz
force an error if no usable Python version is found
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk5
1 files changed, 4 insertions, 1 deletions
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}