View Single Post
Old 12th April 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

Seems like you are getting enough advice, so I'll bow to those more experienced than I.

The reason I add 'build' to the 'make deinstall reinstall' is that adding the build target means that the port gets actually made before the old port is removed. 'make deinstall reinstall' will uninstall the port, then build it and reinstall it - the program is unavailable during the (possibly lengthy) build. 'make build deinstall reinstall' rebuilds the port before removing it: the package is missing for the least available time. (Technically, the 'install' or 'reinstall' targets always include the 'build' target, like the 'build' target will always call the 'fetch', 'checksum', 'extract', 'patch' and any other target that is needed. If a target has been done, then calling it again does nothing.)

This is only rarely important, so it doesn't matter much.

The last point I'll make is the importance of running 'make clean' (Often I'll use 'make clean build deinstall reinstall'). This ensures that you do not simply reinstall an already broken build!
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote