Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2019 15:43:04 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501114 - head/net/luasocket
Message-ID:  <201905091543.x49Fh4bc092095@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905091543.x49Fh4bc092095>