git: 90eafe349e84 - main - editors/imhex: Use llvm16 to avoid a crash of base clang++ during build
Date: Mon, 15 May 2023 14:08:03 UTC
The branch main has been updated by nobutaka: URL: https://cgit.FreeBSD.org/ports/commit/?id=90eafe349e84d3056b1cf2f6625c526ef89023e5 commit 90eafe349e84d3056b1cf2f6625c526ef89023e5 Author: MANTANI Nobutaka <nobutaka@FreeBSD.org> AuthorDate: 2023-05-15 14:00:05 +0000 Commit: MANTANI Nobutaka <nobutaka@FreeBSD.org> CommitDate: 2023-05-15 14:06:44 +0000 editors/imhex: Use llvm16 to avoid a crash of base clang++ during build --- editors/imhex/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editors/imhex/Makefile b/editors/imhex/Makefile index d459c7761590..46144fb3b1d2 100644 --- a/editors/imhex/Makefile +++ b/editors/imhex/Makefile @@ -39,7 +39,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libmbedtls.so:security/mbedtls \ libtre.so:textproc/libtre -USES= cmake desktop-file-utils gl gnome pkgconfig python:3.8+ xorg +USES= cmake desktop-file-utils gl gnome llvm:min=16,build pkgconfig python:3.8+ xorg USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 xcb xau xdmcp @@ -69,6 +69,8 @@ GH_TAG_NATIVEFILEDIALOG= 7909f55 GH_TAG_PATTERN_LANGUAGE= 68210bd GH_TAG_YARA= 96790e5 +CXX= ${LOCALBASE}/bin/clang++${LLVM_VERSION} + CMAKE_ARGS= -DUSE_SYSTEM_CURL=ON -DUSE_SYSTEM_NLOHMANN_JSON=ON \ -DIMHEX_STRIP_RELEASE=OFF -DIMHEX_PLUGINS_IN_SHARE=ON \ -DIMHEX_OFFLINE_BUILD=ON -DIMHEX_USE_GTK_FILE_PICKER=ON