git: 508c824f4fea - main - graphics/tesseract: link with libomp to fix runtime issues

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 25 Mar 2026 13:31:54 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=508c824f4feab874478c1d53342b739a6718db8e

commit 508c824f4feab874478c1d53342b739a6718db8e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-03-25 13:28:56 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-03-25 13:31:51 +0000

    graphics/tesseract: link with libomp to fix runtime issues
    
    PR:     294034
    Submitted by:   dtxdf
---
 graphics/tesseract/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 4f9370491091..7c83b65308ff 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tesseract
 PORTVERSION=	5.5.2
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	pkubaj@FreeBSD.org
@@ -48,6 +49,7 @@ TOOLS_USE=	GNOME=cairo,glib20,pango
 
 .if exists(/usr/include/omp.h)
 CMAKE_ON=	OPENMP_BUILD
+LDFLAGS+=	-lomp
 .endif
 
 post-install-DOCS-on: