Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2021 09:46:57 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d036a86ff209 - main - devel/tex-libtexluajit: fix build on powerpc
Message-ID:  <202106090946.1599kvLE027804@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d036a86ff20917c6e65fb0e98d99cedf426f1c93

commit d036a86ff20917c6e65fb0e98d99cedf426f1c93
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-09 09:46:48 +0000
Commit:     Piotr Kubaj <pkubaj@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106090946.1599kvLE027804>