aa701154b4
Incompatible Changes Internally, we use our own bitwise operation wrapper functions rather than bit32 where possible. This means bitwise operations when running under Lua 5.3+ work on 64bit integers. Bugs Fixed posix.deprecated.getrlimit and posix.deprecated.setrlimit pass tests again. New Features Initial support for Lua 5.4.
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2020/07/14 12:41:21 nia Exp $
|
|
|
|
DISTNAME= luaposix-35.0
|
|
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
|
|
CATEGORIES= devel lua
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=luaposix/}
|
|
GITHUB_PROJECT= luaposix
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
kAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://github.com/luaposix/luaposix
|
|
COMMENT= POSIX library for Lua language
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= c99
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS+= ${LUA_DOCDIR}
|
|
INSTALLATION_DIRS+= ${LUA_LDIR} ${LUA_CDIR}
|
|
|
|
.include "../../lang/lua/luaversion.mk"
|
|
|
|
DEPENDS+= ${LUA_PKGPREFIX}-std-normalize-[0-9]*:../../devel/lua-std-normalize
|
|
DEPENDS+= ${LUA_PKGPREFIX}-std-_debug-[0-9]*:../../devel/lua-std-_debug
|
|
.if ${LUA_PKGPREFIX} == "lua51"
|
|
DEPENDS+= lua51-bit32-[0-9]*:../../devel/lua-bit32
|
|
.endif
|
|
|
|
LIBFLAG+= ${LDFLAGS} -shared -fPIC
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
env ${MAKE_ENV} \
|
|
${LUA_INTERPRETER} ./build-aux/luke LIBFLAG=${LIBFLAG:Q}
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
env ${MAKE_ENV} \
|
|
${LUA_INTERPRETER} ./build-aux/luke \
|
|
PREFIX=${DESTDIR}${PREFIX} \
|
|
install
|
|
cd ${WRKSRC}/doc && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/${LUA_DOCDIR}
|
|
|
|
.include "../../lang/lua/module.mk"
|
|
.include "../../lang/lua/tool.mk"
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|