pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python Use PKG_FAIL_REASON when the python versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c65779fb1a14
branches:  trunk
changeset: 491768:c65779fb1a14
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Mar 29 15:00:35 2005 +0000

description:
Use PKG_FAIL_REASON when the python version is not found, otherwise
will get an unassociated shell command building some packages.

diffstat:

 lang/python/pyversion.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f4b4110d693f -r c65779fb1a14 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk  Tue Mar 29 14:40:36 2005 +0000
+++ b/lang/python/pyversion.mk  Tue Mar 29 15:00:35 2005 +0000
@@ -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 @@
 .endif
 .else
 # force an error
-       error: no valid Python version
+PKG_FAIL_REASON+=   "No valid Python version"
 .endif
 
 PTHREAD_OPTS=  require



Home | Main Index | Thread Index | Old Index