aboutsummaryrefslogtreecommitdiff
path: root/lang/luajit
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2015-05-02 17:52:28 +0000
committerSean Bruno <sbruno@FreeBSD.org>2015-05-02 17:52:28 +0000
commit66641e6424b6fa1affaf99e9a224e2a6d54f0350 (patch)
tree4d8bb56672901b0d5d1198b51cbc9215e5e9a3ed /lang/luajit
parent66126d1f84de15360247f785feebac4a550d714d (diff)
downloadports-66641e6424b6fa1affaf99e9a224e2a6d54f0350.tar.gz
ports-66641e6424b6fa1affaf99e9a224e2a6d54f0350.zip
lang/luajit requires a much more modern compiler than the gcc4.2.1 available
on non-clang architechtures. In addition, if there is no lang/gcc available for the architecuture, we can't build it via that method either. Rework archtecture disable to use ONLY_FOR_ARCHS and give a clearer reason why this is being disabled on powrepc/mips/sparc64. PR: 197132 Reviewed by: osa@freebsd.org (maintainer)
Notes
Notes: svn path=/head/; revision=385200
Diffstat (limited to 'lang/luajit')
-rw-r--r--lang/luajit/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/luajit/Makefile b/lang/luajit/Makefile
index e902a368890e..7ce445ae85b5 100644
--- a/lang/luajit/Makefile
+++ b/lang/luajit/Makefile
@@ -22,10 +22,7 @@ post-install:
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ia64, powerpc, or sparc64
-.endif
+ONLY_FOR_ARCHS= i386 amd64 armv6
+ONLY_FOR_ARCHS_REASON= Requires newer gcc/clang to compile.
.include <bsd.port.post.mk>