Date: Sat, 26 Feb 2022 11:40:39 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: 933b3657a19b - main - lang/libobjc2: fix build on powerpc* and riscv64* Message-ID: <202202261140.21QBed6A096149@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=933b3657a19b82e82077d7bffd61cae09f92124c commit 933b3657a19b82e82077d7bffd61cae09f92124c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-02-26 11:35:56 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-02-26 11:35:56 +0000 lang/libobjc2: fix build on powerpc* and riscv64* Skip building tests on architectures that don't have assembly. --- lang/libobjc2/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile index de7744251c25..9f92390681f5 100644 --- a/lang/libobjc2/Makefile +++ b/lang/libobjc2/Makefile @@ -12,7 +12,6 @@ COMMENT= Replacement Objective-C runtime supporting modern Objective-C features LICENSE= MIT BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly -BROKEN_riscv64= Does not link on riscv64: undefined symbol: objc_msgSend USES= cmake compiler objc:compiler @@ -38,6 +37,10 @@ SHLIB_MINOR= 6 .include <bsd.port.pre.mk> +.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} +CMAKE_ARGS+= -DTESTS:BOOL=OFF +.endif + .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -stdlib=libstdc++ .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202261140.21QBed6A096149>