Do not overwrite USES

This commit is contained in:
Baptiste Daroussin 2014-05-27 16:11:38 +00:00
parent 26802e0f11
commit 92d2225b80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355539

View file

@ -60,7 +60,7 @@ PLIST_SUB+= GD="@comment "
.endif .endif
.if ${PORT_OPTIONS:MLUA} .if ${PORT_OPTIONS:MLUA}
USES= lua:51 USES+= lua:51
CMAKE_ARGS+= -DLUA_EXECUTABLE:FILEPATH="${LUA_CMD}" CMAKE_ARGS+= -DLUA_EXECUTABLE:FILEPATH="${LUA_CMD}"
PLIST_SUB+= LUA="" LUA_MODLIBDIR="${LUA_MODLIBDIR:S,${LUA_PREFIX}/,,}" PLIST_SUB+= LUA="" LUA_MODLIBDIR="${LUA_MODLIBDIR:S,${LUA_PREFIX}/,,}"
.else .else