Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2021 12:19:36 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: 9bb9679da468 - main - lang/yap: fix build on powerpc and powerpc64
Message-ID:  <202111071219.1A7CJaA8095113@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=9bb9679da46823bdc138f3280f56aa1c68ebd95a

commit 9bb9679da46823bdc138f3280f56aa1c68ebd95a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-07 12:14:50 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-07 12:14:50 +0000

    lang/yap: fix build on powerpc and powerpc64
    
    Use GCC because of clang issue:
    fatal error: error in backend: Invalid register name global variable
---
 lang/yap/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 5b4dfa2f2435..04d231c16a06 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -47,6 +47,10 @@ post-build-DOCS-off:
 
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
+USES+=		compiler:gcc-c++11-lib
+.endif
+
 .if ${PORT_OPTIONS:MDOCS} && !${PORT_OPTIONS:MBUILDDOCS}
 MASTER_SITES+=	http://www.grosbein.net/freebsd/distfiles/:docs \
 		LOCAL/eugen:docs



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