aboutsummaryrefslogtreecommitdiff
path: root/net/luasocket
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2019-05-09 15:43:04 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2019-05-09 15:43:04 +0000
commit77a064f7671f0642fce6dd7037da6e30a412a0d6 (patch)
tree6db981868869b6abb7780b48339cb9e79ba34f16 /net/luasocket
parent3e625cf984f6f7ea59d80c9980039eb67f577431 (diff)
downloadports-77a064f7671f0642fce6dd7037da6e30a412a0d6.tar.gz
ports-77a064f7671f0642fce6dd7037da6e30a412a0d6.zip
Notes
Diffstat (limited to 'net/luasocket')
-rw-r--r--net/luasocket/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile
index 186948e60e45..833ebf6f1306 100644
--- a/net/luasocket/Makefile
+++ b/net/luasocket/Makefile
@@ -4,7 +4,7 @@
PORTNAME= luasocket
DISTVERSIONPREFIX= v
DISTVERSION= 3.0-rc1
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= net
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
@@ -22,7 +22,8 @@ MAKE_ARGS= LUAV=${LUA_VER}
USES?= gmake lua pkgconfig
INSTALL_TARGET= install-unix
-CFLAGS+= `pkgconf --cflags lua-${LUA_VER}`
+CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` \
+ -DLUA_COMPAT_APIINTCASTS
LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}`
OPTIONS_DEFINE= DOCS