pkgsrc/devel/lua-posix/Makefile
nia b5b70c7935 lua-posix: Update to 34.1.1
## Noteworthy changes in release 34.1.1 (2019-07-27) [stable]

### Bugs Fixed

  - `posix.compat` really does work without `std.normalize` in the
    `package.path` now.


## Noteworthy changes in release 34.1 (2019-07-20) [stable]

### Bugs Fixed

  - `luke` works with upgraded bootstrap luarocks version of `require`.

  - `posix.glob.glob` does not return a random errno on failure now, but
    new module constants `GLOB_ABORTED`, `GLOB_NOMATCH` or `GLOB_NOSPACE`.

  - `posix.deprecated.clock_getres` and `posix.deprecated.clock_gettime`
    work again.

### New Features

  - `posix.glob.glob` supports now module constants as a second argument:
    `GLOB_NOCHECK` and `GLOB_ERR`.

  - `posix.sys.socket` now supports IPV6 link-local addresses.

  - use `std.strict`, `std._debug` and `typecheck` modules when available,
    otherwise behave normally without those additional runtime checks.
2020-01-29 11:30:01 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2020/01/29 11:30:01 nia Exp $
DISTNAME= luaposix-34.1.1
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}-/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=luaposix/}
GITHUB_PROJECT= luaposix
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/luaposix/luaposix
COMMENT= POSIX library for Lua language
LICENSE= mit
USE_LANGUAGES= c c99
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-bitlib-[0-9]*:../../devel/lua-bitlib
.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
.include "../../lang/lua/module.mk"
.include "../../lang/lua/tool.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"