summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-06-22 23:54:06 +0000
committerdholland <dholland@pkgsrc.org>2008-06-22 23:54:06 +0000
commit826ee265382d7c4847463c58b9525b3ae62d71d9 (patch)
tree1565a26f2292fa4b6babc28c6543ec991e9b7c7d /mk
parent699327efe00c73bd459e6ccbcbc56517aa8e0212 (diff)
downloadpkgsrc-826ee265382d7c4847463c58b9525b3ae62d71d9.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 6b05c0cad79..77f7ca7001e 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -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 @@ ${_BLNK_COOKIE.${_pkg_}}:
${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