View Single Post
Old 12th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
 
Join Date: Apr 2009
Posts: 25
Default

Quote:
Originally Posted by robbak View Post
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.
Sounds like good advice; if the port won't rebuild for whatever reason, then it's best not to deinstall it, at least until you figure out why?

Quote:
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!
So, considering the mess I'm in right now, would it probably be a good idea to go ahead and clean all these:

Code:
[root@wampus: /usr/ports/]# echo /usr/ports/*/*/work
/usr/ports/accessibility/accerciser/work
/usr/ports/devel/desktop-file-utils/work
/usr/ports/devel/makedepend/work
/usr/ports/editors/tea/work
/usr/ports/emulators/linux_base-fc4/work
/usr/ports/graphics/gimp-app/work
/usr/ports/graphics/gimp/work
/usr/ports/graphics/inkscape/work
/usr/ports/graphics/libexif/work
/usr/ports/graphics/libmng/work
/usr/ports/graphics/libwmf/work
/usr/ports/graphics/poppler-data/work
/usr/ports/graphics/poppler-gtk/work
/usr/ports/graphics/poppler/work
/usr/ports/mail/claws-mail/work
/usr/ports/mail/libetpan/work
/usr/ports/textproc/p5-XML-Parser/work
/usr/ports/x11-fm/emelfm2/work
/usr/ports/x11/dri2proto/work
?
Reply With Quote