completly remove (or modify) a port

Gerard gerard at
Wed Apr 18 18:30:48 UTC 2007

On Wednesday April 18, 2007 at 02:16:28 (PM) Ray wrote:

> Hello all,
> I have been trying to work with postfix from the ports collection.
> I need to rebuild it to include mysql support. I tried 
> #make deinstall
> but a subsequent
> #make install 
> doesn't give me the options screen.
> what is the way to either remove the stored configuration file, or to manually 
> pass the parameters to make.  A look at the Makefile and the other files 
> in /usr/ports/mail/postfix didn't turn up any hints.
> Thanks,
> Ray

cd to the postfix port you want to install  

    make rmconfig
    make config

If you want to check all of the dependencies:

    make config-recursive

make deinstall
make clean
make install && make clean


More information about the freebsd-questions mailing list