summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-06-21 17:12:23 +0000
committersunpoet <sunpoet@FreeBSD.org>2015-06-21 17:12:23 +0000
commit67af2df7d1395d18456a7af4bd69e426ded27b2a (patch)
treebc670558a92aa79f9b8bfea7e4537ba8ff8388d0
parent56a020ba71155ab4281f8c1b6ce38aa8f37980db (diff)
downloadFreeBSD-ports-67af2df7d1395d18456a7af4bd69e426ded27b2a.zip
FreeBSD-ports-67af2df7d1395d18456a7af4bd69e426ded27b2a.tar.gz
- Allow build with lua52 and lua53
PR: 200405 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 4 weeks)
-rw-r--r--textproc/luaexpat/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/luaexpat/Makefile b/textproc/luaexpat/Makefile
index 221749a..b2d532c 100644
--- a/textproc/luaexpat/Makefile
+++ b/textproc/luaexpat/Makefile
@@ -13,8 +13,9 @@ COMMENT= LuaExpat is a SAX XML parser based on the Expat library
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
-USES= gmake lua:51
+USES= gmake lua
ALL_TARGET= lib
+CFLAGS+= -DLUA_INT_LONG
CFLAGS+= -fPIC
LDFLAGS+= -L${LOCALBASE}/lib
OpenPOWER on IntegriCloud