git: 5e6ff22583bb - main - graphics/tesseract: Link with libomp.so to fix missing symbol error; Add compiler:c++20-lang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 13:00:37 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e6ff22583bb0916a86e6abfe88eae8892d0d198 commit 5e6ff22583bb0916a86e6abfe88eae8892d0d198 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-06-23 10:13:39 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-06-23 12:59:40 +0000 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: