Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 01:38:16 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: 8de255377cb1 - main - graphics/gegl: fix build without libomp
Message-ID:  <202308120138.37C1cGWW038942@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=8de255377cb13b47cad3401dc14844c808700054

commit 8de255377cb13b47cad3401dc14844c808700054
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-11 16:33:37 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-12 01:37:44 +0000

    graphics/gegl: fix build without libomp
    
    meson.build:413:12: ERROR: Dependency "openmp" not found, tried system
---
 graphics/gegl/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index 2e67b06036ae..29f922a356c3 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -23,8 +23,13 @@ LIB_DEPENDS=	libbabl-0.1.so:x11/babl \
 		libnsgif.so:graphics/libnsgif \
 		libpng.so:graphics/png
 
-USES=		compiler:c++14-lang cpe gettext gnome jpeg localbase \
-		meson pkgconfig shebangfix uniquefiles tar:xz
+USES=		cpe gettext gnome jpeg localbase meson pkgconfig shebangfix \
+		uniquefiles tar:xz
+.if !exists(/usr/include/omp.h)
+USES+=		compiler:gcc-c++11-lib
+.else
+USES+=		compiler:c++14-lang
+.endif
 USE_GNOME=	glib20 introspection:build
 USE_LDCONFIG=	yes
 MESON_ARGS=	-Ddocs=false \



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