pkgsrc/net/lua-socket/Makefile
nia 59d7fb0955 Add LUA_LINKER_MAGIC variable that centrally sets LDFLAGS on Darwin,
as should probably have been done to begin with. Remove per-package hacks.
2020-07-11 15:14:29 +00:00

23 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.13 2020/07/11 15:14:30 nia Exp $
DISTNAME= luasocket-3.0-rc1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//:S/-rc/rc/}
PKGREVISION= 5
CATEGORIES= net lua
MASTER_SITES= -https://github.com/diegonehab/luasocket/archive/v3.0-rc1.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://w3.impa.br/~diego/software/luasocket/
COMMENT= Network support for the Lua language
LICENSE= mit
MAKE_FILE= makefile
LDFLAGS.SunOS= -lrt -lresolv
MAKE_FLAGS+= LUAV=${_LUA_DOT_VERSION}
MAKE_FLAGS+= LUAINC_linux_base=${PREFIX}/include
MAKE_FLAGS+= LUAPREFIX_linux=${PREFIX}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"