aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsmasq-devel/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-22 05:56:54 +0800
committerbapt <bapt@FreeBSD.org>2014-04-22 05:56:54 +0800
commitaa3aaa658f153640f7fdb857cc7455f12d7807a9 (patch)
treea81ea99f5e6df4fb555bdd2974bc9ce05e8da58a /dns/dnsmasq-devel/Makefile
parent28d31c080680b477f22af628b62d9f57da1dadd9 (diff)
downloadfreebsd-ports-gnome-aa3aaa658f153640f7fdb857cc7455f12d7807a9.tar.gz
freebsd-ports-gnome-aa3aaa658f153640f7fdb857cc7455f12d7807a9.tar.zst
freebsd-ports-gnome-aa3aaa658f153640f7fdb857cc7455f12d7807a9.zip
Switch to use lua 5.2
Diffstat (limited to 'dns/dnsmasq-devel/Makefile')
-rw-r--r--dns/dnsmasq-devel/Makefile4
1 files changed, 2 insertions, 2 deletions
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 <bsd.port.pre.mk>
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:
@: