svn commit: r523930 - head/graphics/tesseract

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jan 23 13:14:43 UTC 2020


Author: pkubaj
Date: Thu Jan 23 13:14:43 2020
New Revision: 523930
URL: https://svnweb.freebsd.org/changeset/ports/523930

Log:
  graphics/tesseract: use correct check for libomp
  
  FreeBSD 11.3 has libomp.
  
  Reported by:	sunpoet

Modified:
  head/graphics/tesseract/Makefile

Modified: head/graphics/tesseract/Makefile
==============================================================================
--- head/graphics/tesseract/Makefile	Thu Jan 23 13:09:37 2020	(r523929)
+++ head/graphics/tesseract/Makefile	Thu Jan 23 13:14:43 2020	(r523930)
@@ -51,7 +51,7 @@ TOOLS_USE=	GNOME=cairo,glib20,pango
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 1201000
+.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h)
 OPENMP_LIB_DEPENDS=libomp.so:devel/openmp
 .endif
 


More information about the svn-ports-all mailing list