diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2023-05-15 23:00:05 +0900 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2023-05-15 23:06:44 +0900 |
commit | 90eafe349e84d3056b1cf2f6625c526ef89023e5 (patch) | |
tree | f43f7e4811dd8e21d3bf4784d9b61ae2bd86525b /editors/imhex | |
parent | audio/pt2-clone: Update to 1.58 (diff) |
editors/imhex: Use llvm16 to avoid a crash of base clang++ during build
Diffstat (limited to 'editors/imhex')
-rw-r--r-- | editors/imhex/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 |