svn commit: r501114 - head/net/luasocket

Ryan Steinmetz zi at FreeBSD.org
Thu May 9 15:43:05 UTC 2019


Author: zi
Date: Thu May  9 15:43:04 2019
New Revision: 501114
URL: https://svnweb.freebsd.org/changeset/ports/501114

Log:
  - Fix backwards compatibility for luasocket with lua 5.3
  - Bump PORTREVISION
  
  Obtained from:	Upstream git issue 123

Modified:
  head/net/luasocket/Makefile

Modified: head/net/luasocket/Makefile
==============================================================================
--- head/net/luasocket/Makefile	Thu May  9 15:43:01 2019	(r501113)
+++ head/net/luasocket/Makefile	Thu May  9 15:43:04 2019	(r501114)
@@ -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


More information about the svn-ports-head mailing list