git: 6540d4de7188 - main - graphics/tesseract: enable OPENMP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 13:24:27 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6540d4de7188553178274ddf1b231a247b8023d7
commit 6540d4de7188553178274ddf1b231a247b8023d7
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-21 13:10:26 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-21 13:10:26 +0000
graphics/tesseract: enable OPENMP
PR: 265252
---
graphics/tesseract/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 57c1876d5cda..9d447cb9c780 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tesseract
PORTVERSION= 5.2.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= pkubaj@FreeBSD.org
@@ -45,6 +46,10 @@ TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \
libfontconfig.so:x11-fonts/fontconfig
TOOLS_USE= GNOME=cairo,glib20,pango
+.if exists(/usr/include/omp.h)
+CMAKE_ON= OPENMP_BUILD
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}