5.5 to 6.1 upgrade

Doug Barton dougb at FreeBSD.org
Wed Aug 23 20:51:59 UTC 2006


Ruslan Ermilov wrote:
> On Tue, Aug 22, 2006 at 11:07:45PM +0300, Todorov @ Paladin wrote:
>> Also - why portupgrade is not always aware of
>> previously chosen options for a port build?
>>
> It depends.  If options are OPTIONS (in the ports sense), they
> are saved and independent of portupgrade.  If options are
> makefile options specified in pkgtools.conf, they are only
> taken into accont if the port is (re)build explicitly; they
> are not taken into account if a port is (re)built as a
> dependency of another port.  In plain text: if port B has
> options in pkgtools.conf, and port A has B as its dependency,
> and you portinstall/portupgrade A, B will be built (if needs
> be) without pkgtools.conf options.  Be careful.

sysutils/portconf does not have that limitation. If you specify flags using
that method, they will always be used.

FYI,

Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-stable mailing list