diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-06-23 10:13:39 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-06-23 12:59:40 +0000 |
commit | 5e6ff22583bb0916a86e6abfe88eae8892d0d198 (patch) | |
tree | d552ca48f84ad0f5159ed96a9b8cdf2e0da915a5 | |
parent | ac28bd03143a3fdee07377cfd66c3b81b1084eba (diff) | |
download | ports-5e6ff22583bb0916a86e6abfe88eae8892d0d198.tar.gz ports-5e6ff22583bb0916a86e6abfe88eae8892d0d198.zip |
graphics/tesseract: Link with libomp.so to fix missing symbol error; Add compiler:c++20-lang
PR: 266776
Submitted by: yuri
-rw-r--r-- | graphics/tesseract/Makefile | 5 |
1 files 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: |