blob: 5e91396afeb4828732f48fd3c5e043e124d6ec87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.13 2020/01/26 17:31:26 rillig Exp $
#
DISTNAME= LuaJIT-2.0.5
PKGNAME= ${DISTNAME:S/LuaJIT/LuaJIT2/}
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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"
|