diff options
author | dholland <dholland> | 2008-06-22 23:54:06 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-06-22 23:54:06 +0000 |
commit | d8fba8a74e9308674702d69fc85dd8a9c4110d10 (patch) | |
tree | 1565a26f2292fa4b6babc28c6543ec991e9b7c7d /mk | |
parent | 98203d591e80f79d165c00fb812698d08d5dbe32 (diff) | |
download | pkgsrc-d8fba8a74e9308674702d69fc85dd8a9c4110d10.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.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 |