svn commit: r525124 - head/graphics/tesseract

Antoine Brodin antoine at FreeBSD.org
Tue Feb 4 06:27:52 UTC 2020


Author: antoine
Date: Tue Feb  4 06:27:51 2020
New Revision: 525124
URL: https://svnweb.freebsd.org/changeset/ports/525124

Log:
  Option helpers can't be used after bsd.port.options.mk

Modified:
  head/graphics/tesseract/Makefile

Modified: head/graphics/tesseract/Makefile
==============================================================================
--- head/graphics/tesseract/Makefile	Tue Feb  4 06:19:51 2020	(r525123)
+++ head/graphics/tesseract/Makefile	Tue Feb  4 06:27:51 2020	(r525124)
@@ -51,8 +51,8 @@ TOOLS_USE=	GNOME=cairo,glib20,pango
 
 .include <bsd.port.pre.mk>
 
-.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h)
-OPENMP_LIB_DEPENDS=libomp.so:devel/openmp
+.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h) && ${PORT_OPTIONS:MOPENMP}
+LIB_DEPENDS+=	libomp.so:devel/openmp
 .endif
 
 post-patch:


More information about the svn-ports-head mailing list