Due to an incorrect list assignment in bsd.lua.mk, ports with no hardcoded lua version requirement will ignore WITH_LUA_VER (which is used to specify which installed version of lua to build a port against) and will instead use the highest version of lua installed. Fix: Modify Mk/bsd.lua.mk as in the attached patch. Patch attached with submission follows: How-To-Repeat: 1. Install both lang/lua50 and lang/lua51 ports 2. Pick a port that will allow building against 5.0 or 5.1 (eg, irc/weechat-devel) 3. 'export WITH_LUA_VER=5.0' 4. 'make configure' the port picked in step #2. 5. notice that the port depends on lua-5.1.x not lua-5.0.x as specified in step #3.
Responsible Changed From-To: freebsd-ports-bugs->alepulver bsd.lua.mk is alepulver territory (via the GNATS Auto Assign Tool)
alepulver 2011-01-06 18:45:31 UTC FreeBSD ports repository Modified files: Mk bsd.lua.mk Log: - Respect WITH_LUA_VER. PR: 153046 Submitted by: Jase Thew <freebsd@beardz.net> Revision Changes Path 1.21 +2 -2 ports/Mk/bsd.lua.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!