Date: Tue, 14 Mar 2023 19:04:51 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: da1a3d2bae70 - main - x11-toolkits/kf5-kirigami2: fix build without libomp Message-ID: <202303141904.32EJ4pNi021859@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=da1a3d2bae70f9283ecba474ca7a44fde0758414 commit da1a3d2bae70f9283ecba474ca7a44fde0758414 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-03-14 19:04:04 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-03-14 19:04:04 +0000 x11-toolkits/kf5-kirigami2: 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:122 (find_package) --- x11-toolkits/kf5-kirigami2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x11-toolkits/kf5-kirigami2/Makefile b/x11-toolkits/kf5-kirigami2/Makefile index bc0716d2638a..889d062a753a 100644 --- a/x11-toolkits/kf5-kirigami2/Makefile +++ b/x11-toolkits/kf5-kirigami2/Makefile @@ -5,7 +5,12 @@ CATEGORIES= x11-toolkits kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= QtQuick based components set -USES= cmake compiler:c++11-lib gettext kde:5 qt:5 tar:xz +USES= cmake gettext kde:5 qt:5 tar:xz +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lib +.endif USE_KDE= kdeclarative \ ecm:build USE_QT= core concurrent dbus declarative graphicaleffects gui \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303141904.32EJ4pNi021859>