summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-03-29 15:00:35 +0000
committerxtraeme <xtraeme>2005-03-29 15:00:35 +0000
commit488a2f30fdea7b5b6b66e7e39e0c4280df0a893d (patch)
treef8a751240a4f11a25ea6b7dcc79ab6d4e8d19279 /lang/python
parent8bcf55018620526187528d19db86ce056088086f (diff)
downloadpkgsrc-488a2f30fdea7b5b6b66e7e39e0c4280df0a893d.tar.gz
Use PKG_FAIL_REASON when the python version is not found, otherwise
will get an unassociated shell command building some packages.
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 ae3c1dd8232..a6e64c97c67 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.34 2005/03/24 22:44:37 jlam Exp $
+# $NetBSD: pyversion.mk,v 1.35 2005/03/29 15:00:35 xtraeme Exp $
.if !defined(PYTHON_PYVERSION_MK)
PYTHON_PYVERSION_MK= defined
@@ -134,7 +134,7 @@ BUILD_DEPENDS+= py15-distutils-*:../../devel/py-distutils
.endif
.else
# force an error
- error: no valid Python version
+PKG_FAIL_REASON+= "No valid Python version"
.endif
PTHREAD_OPTS= require