Date: Sat, 7 Sep 2013 21:42:13 +0000 (UTC) From: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: bsd.port.pre.mk vs bsd.port.options.mk Message-ID: <l0g6jl$jf0$1@lorvorc.mips.inka.de>
next in thread | raw e-mail | index | archive | help
I have port that does something like .include <bsd.port.pre.mk> .if ${ARCH} == ... ... .endif .include <bsd.port.post.mk> A while back somebody submitted a PR asking me to replace bsd.port.pre.mk with bsd.port.options.mk, because it also makes ARCH available and is far less expensive. Now, a priori it is not clear to me that including options.mk is actually cheaper than pre.mk. And it seems odd to include options.mk but then not use any part of the options framework. The Porter's Handbook explicitly mentions ARCH as one of the variables provided by pre.mk. What's the preferred way to handle this? -- Christian "naddy" Weisgerber naddy@mips.inka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l0g6jl$jf0$1>