File:  [cvs.NetBSD.org] / pkgsrc / lang / LuaJIT2 / Makefile
Revision 1.11: download - view: text, annotated - select for diffs
Sat Sep 16 19:53:51 2017 UTC (7 years, 2 months ago) by alnsn
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Drop maintainership.

# $NetBSD: Makefile,v 1.11 2017/09/16 19:53:51 alnsn Exp $
#

DISTNAME=	LuaJIT-2.0.5
PKGNAME=	${DISTNAME:S/LuaJIT/LuaJIT2/}
CATEGORIES=	lang
MASTER_SITES=	http://luajit.org/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://luajit.org/
COMMENT=	Just-In-Time Compiler for the Lua programming language
LICENSE=	mit

USE_TOOLS+=	gmake

NOT_PAX_MPROTECT_SAFE+=	bin/luajit

# Address pkg/47587 lua not linked to pthread causes issues with modules
PTHREAD_OPTS+=		native
PTHREAD_AUTO_VARS=	yes

.include "../../mk/bsd.prefs.mk"

# Upstream doesn't support building shared libs on SunOS
# http://www.freelists.org/post/luajit/LuaJIT-on-solaris-64
PLIST_VARS+=		shared
.if ${OPSYS} != "SunOS"
PLIST.shared=		yes
.endif
PRINT_PLIST_AWK+=	{if ($$0 ~ /\.so/) {$$0 = "$${PLIST.shared}" $$0;}}

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>