aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-26 23:28:28 +0800
committerbapt <bapt@FreeBSD.org>2014-05-26 23:28:28 +0800
commite6b8ed87b5e99e0ddfa7f575594f03f1992cf201 (patch)
tree1485083919fd5b153bf056ea17ac895ea758a8a9 /dns
parent729d5d5ddb37fd2035af319a95b99466360a2e7e (diff)
downloadfreebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.gz
freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.zst
freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.zip
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1 Make the default lua lua52 Make all lua ports using USES=lua Approved by: portmgr (implicit)
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns-recursor/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 16c25d9550f4..0276378d0daa 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -42,11 +42,11 @@ GROUPS= pdns
.endif
.if ${PORT_OPTIONS:MLUA}
-USE_LUA=5.1
+USES+= lua:51
LUA_COMPS=lua
MAKE_ENV+=LUA=1
MAKE_ENV+=LUA_CPPFLAGS_CONFIG=-I${PREFIX}/include/lua51
-MAKE_ENV+="LUA_LIBS_CONFIG=-L${PREFIX}/lib/lua51/ -llua"
+MAKE_ENV+="LUA_LIBS_CONFIG=-L${PREFIX}/lib/lua51/ -llua-${LUA_VER}"
.endif
.if ${PORT_OPTIONS:MSTATIC}