aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-07-21 13:10:26 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-07-21 13:10:26 +0000
commit6540d4de7188553178274ddf1b231a247b8023d7 (patch)
treecfbe5c31f9880e77094eb27684fa2fa161cfedde
parent0b2e583d850c4da4b6f28e05d180f196881ce82e (diff)
downloadports-6540d4de7188553178274ddf1b231a247b8023d7.tar.gz
ports-6540d4de7188553178274ddf1b231a247b8023d7.zip
graphics/tesseract: enable OPENMP
PR: 265252
-rw-r--r--graphics/tesseract/Makefile5
1 files changed, 5 insertions, 0 deletions
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}