bsd.port.pre.mk vs bsd.port.options.mk

Baptiste Daroussin bapt at FreeBSD.org
Sun Sep 15 19:58:33 UTC 2013


On Sun, Sep 15, 2013 at 06:34:05PM +0000, Christian Weisgerber wrote:
> Jason Helfman <jgh at FreeBSD.org> wrote:
> 
> > It is preferred to evaluate ARCH with bsd.port.options.mk.
> 
> It would be nice if this was better motivated than "jgh said so".
> 
> Anyway, a bit of grepping shows that there are many (hundreds?) of
> ports that should be changed accordingly then.  Maybe you should
> do it all in one big swoop?
> 
> -- 
> Christian "naddy" Weisgerber                          naddy at mips.inka.de
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Evaluate ARCH whereever you want, the good thing about evaluating after
options.mk is that it avoids reading bsd.port.mk twice which is what
pre.mk/post.mk dancing does.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130915/92a8a65f/attachment.sig>


More information about the freebsd-ports mailing list