From 5e6ff22583bb0916a86e6abfe88eae8892d0d198 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 23 Jun 2023 12:13:39 +0200 Subject: [PATCH] graphics/tesseract: Link with libomp.so to fix missing symbol error; Add compiler:c++20-lang PR: 266776 Submitted by: yuri --- graphics/tesseract/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile index 4de36bf5ca68..497f43b06e36 100644 --- a/graphics/tesseract/Makefile +++ b/graphics/tesseract/Makefile @@ -1,6 +1,6 @@ PORTNAME= tesseract PORTVERSION= 5.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= pkubaj@FreeBSD.org @@ -20,7 +20,7 @@ LIB_DEPENDS= liblept.so:graphics/leptonica \ RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data -USES= autoreconf compiler:c++11-lang cpe gnome libarchive libtool \ +USES= autoreconf compiler:c++20-lang cpe gnome libarchive libtool \ localbase pathfix pkgconfig USE_LDCONFIG= yes @@ -49,6 +49,7 @@ TOOLS_USE= GNOME=cairo,glib20,pango .if exists(/usr/include/omp.h) CMAKE_ON= OPENMP_BUILD +LDFLAGS+= -lomp .endif post-install-DOCS-on: