Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 13:14:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523930 - head/graphics/tesseract
Message-ID:  <202001231314.00NDEhSi060339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001231314.00NDEhSi060339>