graphics/tesseract: enable OPENMP

PR:	265252
This commit is contained in:
Piotr Kubaj 2022-07-21 13:10:26 +00:00
parent 0b2e583d85
commit 6540d4de71

View file

@ -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}