Date: Tue, 4 Feb 2020 06:27:52 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525124 - head/graphics/tesseract Message-ID: <202002040627.0146RqWe070604@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002040627.0146RqWe070604>