On 24/04/14 16:48, Brian Callahan wrote:
>
> Random bikeshedding:
>
> Why not use the lua on the system? Is the included lua somehow different?
>
> Something like:
> MAKE_FLAGS=INCLUDES=-I${MODLUA_INCL_DIR} LIB="-m -L${LOCALBASE}/lib
> ${MODLUA_LIB}"
> would do the trick, remembering to add ${MODLUA_WANTLIB} to WANTLIB and
> MODULES=lang/lua.
> You'll have to patch ${WRKSRC}/Premake4.make to remove the building of
> its internal lua but it'll save you having to chase lua fixes in the
> future (Maybe you can even get upstream to support building with a
> system lua in future releases). Also lets you have fewer patches.
>
> Built with the system lua, make test passes all tests on amd64.
>
> ~BrianAttached is the tweaked port. The devs response to using a system-provided Lua version is: "Because there is no such thing as "the one" on "the system"."
premake.tgz
Description: application/compressed-tar
