diff options
author | dholland <dholland@pkgsrc.org> | 2008-06-22 23:54:06 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-06-22 23:54:06 +0000 |
commit | ec13c9704d53532c37c641c047f646f36a1f309a (patch) | |
tree | 1565a26f2292fa4b6babc28c6543ec991e9b7c7d /mk/buildlink3 | |
parent | dbe2707f57a994c6a45c3144ebe8980788a8eee9 (diff) | |
download | pkgsrc-ec13c9704d53532c37c641c047f646f36a1f309a.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/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
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 |