1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

devel/lua-lgi: disable 5.4 build for now

Upstream releases do not currently build with Lua 5.4 due to lua_resume api
changes, and upsteam master doesn't currently work properly with Lua 5.4.

While here, appease stage-qa and fix the LIB_DEPENDS -- this port does
directly depend on libffi. Also pet portclippy (reorganization).

PORTREVISION bumped due to the dependency change.

PR:		250460
Submitted by:	Andrew Gierth <andrew tao11 riddles org uk> (maintainer)
This commit is contained in:
Kyle Evans 2020-10-25 17:20:50 +00:00
parent 5d6a84cebe
commit 5b199c1481
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553277

View File

@ -2,7 +2,7 @@
PORTNAME= lgi
PORTVERSION= 0.9.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
@ -12,15 +12,19 @@ COMMENT= Lua bindings to libraries using GObject-Introspection
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS+= libffi.so:devel/libffi
USES= gmake gnome lua:-53,module pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= pavouk
USES= gmake gnome lua:module pkgconfig
USE_GNOME= introspection:build,run
MAKE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}"
MAKE_ARGS= PREFIX="${PREFIX}" LUA_LIBDIR="${LUA_MODLIBDIR}" \
LUA_INCDIR="${LUA_INCDIR}" LUA_VERSION="${LUA_VER}" \
CORE="corelgilua${LUA_VER_STR}.so" LUA="${LUA_CMD}"
MAKE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}"
TEST_TARGET= check
post-patch: