Date: Tue, 14 Mar 2023 19:04:44 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: b8a8ec6db49a - main - security/keepassxc: fix build without libomp Message-ID: <202303141904.32EJ4it1021737@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=b8a8ec6db49ae40fd19790fc3d2ff21eabe657bc commit b8a8ec6db49ae40fd19790fc3d2ff21eabe657bc Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-03-14 19:03:53 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-03-14 19:03:53 +0000 security/keepassxc: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) CMakeLists.txt:261 (find_package) --- security/keepassxc/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile index 943809f9742a..5f60f7f98633 100644 --- a/security/keepassxc/Makefile +++ b/security/keepassxc/Makefile @@ -20,8 +20,13 @@ LIB_DEPENDS= libargon2.so:security/libargon2 \ libqrencode.so:graphics/libqrencode \ libbotan-2.so:security/botan2 -USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:5 \ - readline shared-mime-info tar:xz xorg +USES= cmake desktop-file-utils pkgconfig qt:5 readline \ + shared-mime-info tar:xz xorg +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++17-lang +.endif USE_QT= concurrent core dbus gui network svg widgets buildtools:build \ linguisttools:build qmake:build testlib:build x11extras USE_XORG= x11
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303141904.32EJ4it1021737>