git: e535397f125a - main - science/gabedit: enable on libomp-less architectures and disable OPENMP

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 20:45:07 UTC
The branch main has been updated by pkubaj:

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

commit e535397f125a47989658889dd0b8789878935d67
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-12-25 20:44:15 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-12-25 20:44:15 +0000

    science/gabedit: enable on libomp-less architectures and disable OPENMP
---
 science/gabedit/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile
index 2812aa358110..46a13db9b1cc 100644
--- a/science/gabedit/Makefile
+++ b/science/gabedit/Makefile
@@ -13,9 +13,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/License
 
 BROKEN_i386=	undefined reference to `__atomic_load'
-.if !exists(/usr/include/omp.h)
-BROKEN=		requires OpenMP support that is missing on this architecture
-.endif
 
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
@@ -39,8 +36,8 @@ ICON_SIZES=	16 24 32 48
 PLIST_FILES+=	share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png
 .endfor
 
-.if exists(/usr/include/omp.h)
 OPTIONS_DEFINE=		OPENMP
+.if exists(/usr/include/omp.h)
 OPTIONS_DEFAULT=	OPENMP
 .endif