summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-14 15:32:30 +0000
committerjlam <jlam@pkgsrc.org>2003-09-14 15:32:30 +0000
commitea2920c02e7d6413d18bd93ccaf76d92d5a0ed6c (patch)
tree92fab4c3b7f4a4abeb6bda0ac278485b77b4741c /mk
parent52488ea352fe61519ae6496502b7d6693a7954a5 (diff)
downloadpkgsrc-ea2920c02e7d6413d18bd93ccaf76d92d5a0ed6c.tar.gz
Recommend "make clean && make install" instead of just "make install" when
rebuilding the pkg_install tools if they're out of date. Suggested by David Brownlee on tech-pkg@.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 14273dca8cb..b001eb7f652 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1282 2003/09/14 05:02:50 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1283 2003/09/14 15:32:30 jlam Exp $
#
# This file is in the public domain.
#
@@ -721,7 +721,7 @@ uptodate-pkgtools:
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+=' cd ${_PKGSRCDIR}/pkgtools/pkg_install && ${MAKE} install'
+PKG_FAIL_REASON+=' cd ${_PKGSRCDIR}/pkgtools/pkg_install && ${MAKE} clean && ${MAKE} install'
. endif
. endif