1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Switch to lua 5.2

This commit is contained in:
Baptiste Daroussin 2014-04-21 23:25:22 +00:00
parent 5b90719dfe
commit 8bfc3dd55b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351734

View File

@ -110,7 +110,7 @@ PLIST_SUB+= JPEG="@comment "
.endif
.if ${PORT_OPTIONS:MLUA}
USE_LUA= 5.1
USES+= lua
.else
CONFIGURE_ARGS+=--without-lua
.endif
@ -202,6 +202,7 @@ CONFIGURE_ARGS+=--disable-docs
.endif
post-patch:
${REINPLACE_CMD} "s/lua >/lua-${LUA_VER} >/g" ${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's|tools examples|tools|g' \
${WRKSRC}/Makefile.in