aboutsummaryrefslogtreecommitdiffstats
path: root/net/luasocket/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/luasocket/Makefile')
-rw-r--r--net/luasocket/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile
index bf4acee26184..2a3a451d92e6 100644
--- a/net/luasocket/Makefile
+++ b/net/luasocket/Makefile
@@ -15,10 +15,11 @@ USE_GITHUB= yes
GH_ACCOUNT= diegonehab
GH_TAGNAME= v3.0-rc1
-USES= lua:51 gmake pkgconfig
+MAKE_ARGS= LUA_VER=${LUA_VER}
+USES= lua gmake pkgconfig
-CFLAGS+= `pkgconf --cflags lua-${LUA_VER}`
-LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}`
+CFLAGS+= `pkgconf --cflags lua-${LUA_VER}`
+LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}`
OPTIONS_DEFINE= DOCS