pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-lrexlib Make lua-lrexlib build with Lua 5.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9622ee21d718
branches:  trunk
changeset: 310998:9622ee21d718
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jul 29 11:36:06 2018 +0000

description:
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().

diffstat:

 devel/lua-lrexlib/Makefile.common |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e59630202c74 -r 9622ee21d718 devel/lua-lrexlib/Makefile.common
--- a/devel/lua-lrexlib/Makefile.common Sun Jul 29 10:48:30 2018 +0000
+++ b/devel/lua-lrexlib/Makefile.common Sun Jul 29 11:36:06 2018 +0000
@@ -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 @@
 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}



Home | Main Index | Thread Index | Old Index