graphics/tesseract: enable OPENMP
PR: 265252
This commit is contained in:
parent
0b2e583d85
commit
6540d4de71
1 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue