Fix build with new lua

Submitted by:	dankm (via irc)
This commit is contained in:
Baptiste Daroussin 2014-05-26 22:02:45 +00:00
parent e0f85c27d4
commit 50bcd6e4fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355458

View file

@ -310,7 +310,7 @@ USE_QT4= gui corelib moc_build rcc_build uic_build
.if ${PORT_OPTIONS:MLUA}
USES+= lua:51
CONFIGURE_ENV+= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
CONFIGURE_ARGS+=--enable-lua LUAC=luac-${LUA_VER}
CONFIGURE_ARGS+=--enable-lua LUAC=${LUAC_CMD}
.else
CONFIGURE_ARGS+=--disable-lua
.endif