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
commitebba42fcc5b3d68f7dd9ae4e6012d3eb91d29f15 (patch)
tree92fab4c3b7f4a4abeb6bda0ac278485b77b4741c /mk
parentc29a4fad1865c21cc0dd4980b76fdc582d857221 (diff)
downloadpkgsrc-ebba42fcc5b3d68f7dd9ae4e6012d3eb91d29f15.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