diff -ruN /usr/ports/graphics/tesseract/Makefile ./Makefile --- /usr/ports/graphics/tesseract/Makefile 2019-12-02 14:58:42.960278000 +1300 +++ ./Makefile 2019-12-02 14:48:34.972877000 +1300 @@ -43,8 +43,12 @@ OPTIONS_DEFAULT_i386=OPENMP OPTIONS_SUB= yes +.include + OPENMP_CONFIGURE_ENABLE=openmp +.if ${OSVERSION} < 1201000 OPENMP_LIB_DEPENDS=libomp.so:devel/openmp +.endif TOOLS_DESC= Include training tools TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ @@ -64,4 +68,4 @@ post-install-TOOLS-on: @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install -.include +.include