cvs commit: ports/lang/lua Makefile
mandree at FreeBSD.org
Thu Apr 12 06:20:04 UTC 2012
Am 11.04.2012 23:21, schrieb Matthias Andree:
> mandree 2012-04-11 21:21:04 UTC
> FreeBSD ports repository
> Modified files:
> lang/lua Makefile
> Add explanatory comment about butchering __MAKE_CONF.
> Revision Changes Path
> 1.53 +3 -0 ports/lang/lua/Makefile
And no, I don't want to patch Lua's own Makefile with CFLAGS if I can
avoid it getting stomped over by our reading /etc/make.conf thrice.
I know we can patch CFLAGS that, but it has its own downsides.
Re-reading of /etc/make.conf is the harmful part, and we need to stop
doing that -- unless someone can come up with a valid reason why
variables assigned with = in /etc/make.conf (such as CFLAGS=-O3 -pipe)
need to stomp over variables deep in recursive make structures...
Related thoughts at http://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt
More information about the cvs-ports