[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / LuaJIT2

File: [cvs.NetBSD.org] / pkgsrc / lang / LuaJIT2 / Makefile (download)

Revision 1.12, Sat Jun 2 20:01:21 2018 UTC (4 years, 8 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.11: +2 -1 lines

Fix the test for endianness on powerpc so that NetBSD/powerpc
isn't mis-categorized as little-endian only because _LITTLE_ENDIAN
is defined -- what matters on NetBSD is the value of _BYTE_ORDER.
Retain the old test in the #else clause.
Bump PKGREVISION.

# $NetBSD: Makefile,v 1.12 2018/06/02 20:01:21 he 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=	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"