Date: Tue, 24 Jan 2023 09:36:01 GMT From: Dima Panov <fluffy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 716ba588c59d - main - devel/libdispatch: force ports default llvm to build on -current Message-ID: <202301240936.30O9a1wE094084@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=716ba588c59d83e56e63d935258677b5bbbd6c51 commit 716ba588c59d83e56e63d935258677b5bbbd6c51 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2023-01-21 20:21:27 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2023-01-24 09:35:03 +0000 devel/libdispatch: force ports default llvm to build on -current --- devel/libdispatch/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/devel/libdispatch/Makefile b/devel/libdispatch/Makefile index 1614b7c56b58..e8c4fd09609e 100644 --- a/devel/libdispatch/Makefile +++ b/devel/libdispatch/Makefile @@ -8,12 +8,25 @@ COMMENT= Grand Central Dispatch API support library LICENSE= APACHE20 -USES= cmake compiler:c++17-lang +USES= cmake USE_LDCONFIG= yes +USE_CXXSTD= c++17 USE_GITHUB= yes GH_ACCOUNT= apple GH_PROJECT= swift-corelibs-libdispatch GH_TAGNAME= swift-${DISTVERSION}-RELEASE +.include <bsd.port.options.mk> + +.if ${OSVERSION} > 1400000 +USES+= llvm:build +CC= ${_LLVM_MK_PREFIX}/bin/clang +CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp +CXX= ${_LLVM_MK_PREFIX}/bin/clang++ +#LD?= ${_LLVM_MK_PREFIX}/bin/ld +.else +USES+= compiler:c++17-lang +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301240936.30O9a1wE094084>