pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Recommend "make clean && make install" instead of j...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b379390d16ea
branches:  trunk
changeset: 461333:b379390d16ea
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Sep 14 15:32:30 2003 +0000

description:
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:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 394ca1119538 -r b379390d16ea mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Sep 14 15:29:03 2003 +0000
+++ b/mk/bsd.pkg.mk     Sun Sep 14 15:32:30 2003 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index