Subject: 'make install' message update when pkg is already installed
To: None <tech-pkg@netbsd.org>
From: None <Hubert.Feyrer@t-online.de>
List: tech-pkg
Date: 02/05/2004 00:23:38
I'd like to commit the patch below to not bother the user about pkg
details - I always use 'make deinstall' over pkg_delete when possible.
Any objections to commit this?
- Hubert
Index: mk/bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1369
diff -u -r1.1369 bsd.pkg.mk
--- mk/bsd.pkg.mk 2 Feb 2004 11:34:17 -0000 1.1369
+++ mk/bsd.pkg.mk 4 Feb 2004 23:21:22 -0000
@@ -2558,7 +2558,7 @@
if [ "$$found" != "" ]; then \
${ECHO_MSG} "${_PKGSRC_IN}> $$found is already installed - perhaps an older version?"; \
${ECHO_MSG} "*** If so, you may use either of:"; \
- ${ECHO_MSG} "*** - \"pkg_delete $$found\" and \"${MAKE} reinstall\" to upgrade properly"; \
+ ${ECHO_MSG} "*** - \"make deinstall\" and \"${MAKE} reinstall\" to upgrade properly"; \
${ECHO_MSG} "*** - \"${MAKE} update\" to rebuild the package and all of its dependencies"; \
${ECHO_MSG} "*** - \"${MAKE} replace\" to replace only the package without re-linking"; \
${ECHO_MSG} "*** dependencies, risking various problems."; \
--
Hubert Feyrer <hubert@feyrer.de>