Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 12:01:06 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: 546c4b1fe5d1 - main - graphics/luminance-qt5: fix build without libomp
Message-ID:  <202408041201.474C16Bm012345@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=546c4b1fe5d1f180b21233d86e4b2c90be1b6604

commit 546c4b1fe5d1f180b21233d86e4b2c90be1b6604
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-29 23:18:43 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-04 12:00:19 +0000

    graphics/luminance-qt5: fix build without libomp
    
    CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
      Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
---
 graphics/luminance-qt5/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile
index cfb37c6f29d9..6a79cfa0728d 100644
--- a/graphics/luminance-qt5/Makefile
+++ b/graphics/luminance-qt5/Makefile
@@ -41,6 +41,10 @@ HELPBROWSER_DESC=	Build help browser (requires QtWebEngine)
 HELPBROWSER_USE=	QT=webchannel,webengine
 HELPBROWSER_CMAKE_BOOL=	WITH_HELPBROWSER
 
+.if !exists(/usr/include/omp.h)
+USES+=	compiler:gcc-c++11-lib
+.endif
+
 .include <bsd.port.options.mk>
 
 post-patch:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041201.474C16Bm012345>