1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

graphics/gegl: fix build without libomp

meson.build:413:12: ERROR: Dependency "openmp" not found, tried system
This commit is contained in:
Piotr Kubaj 2023-08-11 18:33:37 +02:00
parent ba1796ef17
commit 8de255377c

View File

@ -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 \