1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/lang/luajit/Makefile
Mark Linimon 606b871f73 Mark as broken on aarch64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-03-18 15:08:18 +00:00

36 lines
846 B
Makefile

# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTNAME= luajit
DISTVERSION= 2.0.5
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
DISTNAME= LuaJIT-${DISTVERSION}
MAINTAINER= osa@FreeBSD.org
COMMENT= Just-In-Time Compiler for Lua
BROKEN_aarch64= fails to compile: lj_arch.h:55:2: No support for this architecture (yet)
BROKEN_powerpc64= not ported to powerpc64 upstream
WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION}
USES= gmake
USE_LDCONFIG= yes
MAKE_ARGS= CC=${CC}
PLIST_SUB+= VERSION=${DISTVERSION}
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc*} || ${ARCH:Mmips*} || ${ARCH:Msparc*}
USE_GCC=yes
.endif
post-install:
${LN} -sf ${PORTNAME}-${DISTVERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>