pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-lrexlib



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sun Jul 29 11:36:06 UTC 2018

Modified Files:
        pkgsrc/devel/lua-lrexlib: Makefile.common

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/lua-lrexlib/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-lrexlib/Makefile.common
diff -u pkgsrc/devel/lua-lrexlib/Makefile.common:1.4 pkgsrc/devel/lua-lrexlib/Makefile.common:1.5
--- pkgsrc/devel/lua-lrexlib/Makefile.common:1.4        Mon Jan 27 18:41:12 2014
+++ pkgsrc/devel/lua-lrexlib/Makefile.common    Sun Jul 29 11:36:06 2018
@@ -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-lr
 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