Keep compile options through upgrade

Olivier Certner olivier.certner at free.fr
Fri Jan 28 01:00:59 PST 2005


 Thanks for these 2 answers. I didn't have seen this file mentioned in the 
portupgrade manpage, so I could have been searching for a while before 
finding...

Le Vendredi 28 Janvier 2005 00:45, Glenn E. Sieb a écrit :
> 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