Keep compile options through upgrade

Glenn E. Sieb ges+lists at wingfoot.org
Thu Jan 27 15:47:04 PST 2005


Olivier Certner wrote:

> Hello all,
>
> Is there an easy way to keep/retrieve the options last used to compile a 
>given port? This could be used with portupgrade to upgrade to a newer version 
>while retaining the previous build-time configuration (of course this won't 
>work if the options available change).
>
> Maybe I could put all the options in make.conf, but in this case I fear that 
>this file would become really messy. Moreover, if options are shared by 
>several ports, no fine grain tuning per port will be possible.
>
> Any advices?
>  
>
Check /usr/local/etc/pkgtools.conf

Some ports keep things in /var/db/ports too...

Best,
--Glenn


More information about the freebsd-questions mailing list