pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 When bombing out because the package we ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d4351646de9e
branches: trunk
changeset: 543795:d4351646de9e
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun Jun 22 23:54:06 2008 +0000
description:
When bombing out because the package we need isn't installed, print
the full requirement rather than just the package name. This message
should never be seen (after all, the package we need is supposed to
*get* installed) but sometimes if things are screwed up in one way or
another it does show up. Since often what's wrong is that the package
that's installed is the wrong version, not that it's missing entirely,
this way the error message makes a lot more sense.
E.g. http://mail-index.netbsd.org/tech-pkg/2008/06/12/msg001126.html et seq.
ok dillo@
diffstat:
mk/buildlink3/bsd.buildlink3.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c3c7a036800e -r d4351646de9e mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Sun Jun 22 23:39:35 2008 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Sun Jun 22 23:54:06 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.202 2008/03/10 20:05:59 joerg Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.203 2008/06/22 23:54:06 dholland Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -583,7 +583,7 @@
${RUN} \
case ${BUILDLINK_PREFIX.${_pkg_}} in \
*not_found) \
- ${ERROR_MSG} "${_pkg_} is not installed; can't buildlink files."; \
+ ${ERROR_MSG} "${BUILDLINK_API_DEPENDS.${_pkg_}} is not installed; can't buildlink files."; \
exit 1; \
;; \
esac
Home |
Main Index |
Thread Index |
Old Index