pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg If the "Internal error #1" happens again...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b04c303961ee
branches:  trunk
changeset: 526562:b04c303961ee
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Mar 15 03:01:33 2007 +0000

description:
If the "Internal error #1" happens again, it will at least provide a
hint where to look for the cause of the message. Without that, it is
next to useless.

diffstat:

 mk/flavor/pkg/depends.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7f1e95a7f803 -r b04c303961ee mk/flavor/pkg/depends.mk
--- a/mk/flavor/pkg/depends.mk  Thu Mar 15 01:06:02 2007 +0000
+++ b/mk/flavor/pkg/depends.mk  Thu Mar 15 03:01:33 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.23 2007/03/14 16:23:48 joerg Exp $
+# $NetBSD: depends.mk,v 1.24 2007/03/15 03:01:33 rillig Exp $
 
 _DEPENDS_FILE=         ${WRKDIR}/.depends
 _REDUCE_DEPENDS_CMD=   ${SETENV} CAT=${CAT:Q}                          \
@@ -75,7 +75,7 @@
        ${RUN}                                                          \
        while read type pattern dir rest; do                            \
                { [ "$$dir" ] && [ ! "$$rest" ]; }                      \
-               || ${FAIL_MSG} "[depends.mk] Internal error #1";        \
+               || ${FAIL_MSG} "[depends.mk] Internal error #1: Check ${_DEPENDS_FILE}"; \
                silent=;                                                \
                ${_DEPENDS_INSTALL_CMD};                                \
        done < ${_DEPENDS_FILE}



Home | Main Index | Thread Index | Old Index