graphics/art: Re-enable OPENMP option

The SEGV problem is now gone.
This commit is contained in:
Yuri Victorovich 2023-03-08 17:00:45 -08:00
parent 98a3ab640c
commit 89db860035

View file

@ -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: