Thursday, June 5, 2008

How to delete user configured options for a port in FreeBSD

Sometimes, you get a nice ncurses menu, when you run make install, make reinstall on a port. You make a mistake, port install crashes, you try to run make install one more time just to discover that the menu isn't there any more, and it just runs install one more time with your compiled options.

Q: How do I delete configured options for a port in FreeBSD?
A: A quick look at man ports reveals a comand 'make rmconfig'.

1 comment:

Unknown said...

You can view the currently configured options for a port with
'make showconfig'
To make changes:
'make config'
To reset the configurations to the defaults:
'make rmconfig'