git: d036a86ff209 - main - devel/tex-libtexluajit: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 9 09:46:57 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d036a86ff20917c6e65fb0e98d99cedf426f1c93
commit d036a86ff20917c6e65fb0e98d99cedf426f1c93
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-09 09:46:48 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-09 09:46:48 +0000
devel/tex-libtexluajit: fix build on powerpc
Use GCC:
lj_vm_asm.s:2771:2: error: unknown directive
.gnu_attribute 4, 1
---
devel/tex-libtexluajit/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/tex-libtexluajit/Makefile b/devel/tex-libtexluajit/Makefile
index eb892aa3a9e5..58d700659c29 100644
--- a/devel/tex-libtexluajit/Makefile
+++ b/devel/tex-libtexluajit/Makefile
@@ -27,4 +27,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/libs/luajit
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USES+= compiler:gcc-c++11-lib
+.endif
+
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list