From aa3aaa658f153640f7fdb857cc7455f12d7807a9 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 21 Apr 2014 21:56:54 +0000 Subject: Switch to use lua 5.2 --- dns/dnsmasq-devel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dns/dnsmasq-devel') diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile index 35d647a00e58..3242f4361a5c 100644 --- a/dns/dnsmasq-devel/Makefile +++ b/dns/dnsmasq-devel/Makefile @@ -62,7 +62,7 @@ CFLAGS+= -DHAVE_DBUS .if ${PORT_OPTIONS:MLUA} CFLAGS+= -DHAVE_LUASCRIPT -USE_LUA= 5.1 +USES+= lua .endif .if ${PORT_OPTIONS:MDNSSEC} @@ -76,7 +76,7 @@ USE_RC_SUBR= dnsmasq .include post-patch: - ${REINPLACE_CMD} -e "s/lua5\.1/lua-5.1/" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e "s/lua5\.1/lua-${LUA_VER}/" ${WRKSRC}/Makefile pre-configure: @: -- cgit