diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-03-29 15:00:35 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-03-29 15:00:35 +0000 |
commit | 3a06e87cfc6b43885f618a0aee1302a1974a97cd (patch) | |
tree | f8a751240a4f11a25ea6b7dcc79ab6d4e8d19279 /lang/python | |
parent | 9fb319d5c3744423a681a456a1bd3f798f487fff (diff) | |
download | pkgsrc-3a06e87cfc6b43885f618a0aee1302a1974a97cd.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.mk | 4 |
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 |