git: 89db86003595 - main - graphics/art: Re-enable OPENMP option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 09 Mar 2023 01:01:42 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89db86003595725638977f09c2435f5f60ec0835

commit 89db86003595725638977f09c2435f5f60ec0835
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-09 01:00:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-09 01:01:40 +0000

    graphics/art: Re-enable OPENMP option
    
    The SEGV problem is now gone.
---
 graphics/art/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/graphics/art/Makefile b/graphics/art/Makefile
index 9f48bb1554ab..bff4089575f6 100644
--- a/graphics/art/Makefile
+++ b/graphics/art/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	art
 DISTVERSION=	1.18.1
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://bitbucket.org/agriggio/art/downloads/
 PKGNAMESUFFIX=	-raw-image-editor
@@ -39,12 +40,11 @@ LDFLAGS+=	-lpthread # otherwise build breaks on some systems: error: undefined s
 
 .if exists(/usr/include/omp.h)
 OPTIONS_DEFINE=		OPENMP
-#OPTIONS_DEFAULT=	OPENMP
+OPTIONS_DEFAULT=	OPENMP
 
 OPENMP_CMAKE_BOOL=	OPTION_OMP
-OPENMP_BROKEN=		OpenMP causes asserts, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261360
 .else
-CMAKE_ARGS=	-DOPTION_OMP:BOOL=OFF
+CMAKE_OFF=	OPTION_OMP
 .endif
 
 post-install: