aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tesseract/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 04bb0878bf31..6557b490cad6 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -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