diff options
author | minskim <minskim@pkgsrc.org> | 2018-07-29 11:36:06 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-07-29 11:36:06 +0000 |
commit | b40209821833eeca35700c79bffe251a1b6ab955 (patch) | |
tree | 51f7dbe5d2b556512b92d2aa76bc978bc48ee6c8 | |
parent | c8601eee74964fe80e4d18b2018fdcd9a2379fdf (diff) | |
download | pkgsrc-b40209821833eeca35700c79bffe251a1b6ab955.tar.gz |
Make lua-lrexlib build with Lua 5.3
Without this CFLAGS option, the deprecated luaL_optint() in the module
is not replaced with luaL_optinteger().
-rw-r--r-- | devel/lua-lrexlib/Makefile.common | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/lua-lrexlib/Makefile.common b/devel/lua-lrexlib/Makefile.common index 64a0cfb2bef..976e2f57704 100644 --- a/devel/lua-lrexlib/Makefile.common +++ b/devel/lua-lrexlib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2014/01/27 18:41:12 wiz Exp $ +# $NetBSD: Makefile.common,v 1.5 2018/07/29 11:36:06 minskim Exp $ # used by devel/lua-lrexlib-posix/Makefile # used by devel/lua-lrexlib-pcre/Makefile # used by devel/lua-lrexlib-onig/Makefile @@ -29,6 +29,7 @@ PATCHDIR= ${.CURDIR}/../../devel/lua-lrexlib/patches DISTINFO_FILE= ${.CURDIR}/../../devel/lua-lrexlib/distinfo DESCR_SRC= ${.CURDIR}/../../devel/lua-lrexlib/DESCR.common +CFLAGS+= -DLUA_COMPAT_APIINTCASTS MAKE_FLAGS+= LIBS=${LIBS:Q} MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} MAKE_FLAGS+= MODULES_DIR=${PREFIX}/${LUA_CDIR} |