diff options
author | grant <grant@pkgsrc.org> | 2003-12-09 13:14:02 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-12-09 13:14:02 +0000 |
commit | 6370668b49db1960163c7a2c8973a210083f569e (patch) | |
tree | d71a4bb7db5c67967b133c56f836cc0c4ff88a49 /mk | |
parent | 43c1a86287205b79f4ac2199d35815fa2a946958 (diff) | |
download | pkgsrc-6370668b49db1960163c7a2c8973a210083f569e.tar.gz |
make the "update your package tools!" failure message more accurate
and friendly.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 4846ff78de6..a601e168539 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1316 2003/12/07 22:47:16 grant Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1317 2003/12/09 13:14:02 grant Exp $ # # This file is in the public domain. # @@ -761,9 +761,10 @@ uptodate-pkgtools: .endif . if !defined(NO_PKGTOOLS_REQD_CHECK) . if ${PKGTOOLS_VERSION} < ${PKGTOOLS_REQD} -PKG_FAIL_REASON+='Your package tools need to be updated to ${PKGTOOLS_REQD:C|(....)(..)(..)|\1/\2/\3|} versions.' -PKG_FAIL_REASON+='The installed package tools were last updated on ${PKGTOOLS_VERSION:C|(....)(..)(..)|\1/\2/\3|}.' -PKG_FAIL_REASON+='To fix this, use the following command:' +PKG_FAIL_REASON+='Error: The package tools installed on this system are out of date.' +PKG_FAIL_REASON+='The installed package tools are dated ${PKGTOOLS_VERSION:C|(....)(..)(..)|\1/\2/\3|} and you must update' +PKG_FAIL_REASON+='them to at least ${PKGTOOLS_REQD:C|(....)(..)(..)|\1/\2/\3|} using the following command:' +PKG_FAIL_REASON+='' PKG_FAIL_REASON+=' cd ${_PKGSRCDIR}/pkgtools/pkg_install && ${MAKE} clean && ${MAKE} install' . endif . endif |