pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk "Forcing an error", like expressed in the comment, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba6b1e924ead
branches:  trunk
changeset: 521688:ba6b1e924ead
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 18 08:29:13 2006 +0000

description:
"Forcing an error", like expressed in the comment, should be done via
PKG_FAIL_REASON, not via PKG_SKIP_REASON.

diffstat:

 mk/mysql.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5ce4a3347634 -r ba6b1e924ead mk/mysql.buildlink3.mk
--- a/mk/mysql.buildlink3.mk    Sat Nov 18 08:27:10 2006 +0000
+++ b/mk/mysql.buildlink3.mk    Sat Nov 18 08:29:13 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mysql.buildlink3.mk,v 1.5 2006/01/07 10:47:39 xtraeme Exp $
+# $NetBSD: mysql.buildlink3.mk,v 1.6 2006/11/18 08:29:13 rillig Exp $
 
 .if !defined(MYSQL_VERSION_MK)
 MYSQL_VERSION_MK=      # defined
@@ -69,7 +69,7 @@
 MYSQL_PKGSRCDIR=       ../../databases/mysql4-client
 .else
 # force an error
-PKG_SKIP_REASON+=      "${_MYSQL_VERSION} is not a valid mysql package."
+PKG_FAIL_REASON+=      "[mysql.buildlink3.mk] ${_MYSQL_VERSION} is not a valid mysql package."
 .endif
 
 .include "${MYSQL_PKGSRCDIR}/buildlink3.mk"



Home | Main Index | Thread Index | Old Index