git: f766702e7730 - main - astro/oskar: drop GCC

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 12 Aug 2023 01:38:25 UTC
The branch main has been updated by pkubaj:

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

commit f766702e7730601a88ec691251375ca219787518
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-11 22:56:51 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-12 01:37:47 +0000

    astro/oskar: drop GCC
---
 astro/oskar/Makefile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/astro/oskar/Makefile b/astro/oskar/Makefile
index 8ad16bc3aea9..b3daff360116 100644
--- a/astro/oskar/Makefile
+++ b/astro/oskar/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	OSKAR
 DISTVERSION=	2.8.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	astro
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -18,12 +18,8 @@ LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
 		libhdf5.so:science/hdf5 \
 		libsz.so:science/libaec
 
-USES=		cmake localbase:ldflags python qt:5 shebangfix
-.if !exists(/usr/include/omp.h)
-USES+=		compiler:gcc-c++11-lib
-.else
-USES+=		compiler:c++11-lang
-.endif
+USES=		cmake compiler:c++11-lang localbase:ldflags python qt:5 \
+		shebangfix
 USE_QT=		core gui network widgets buildtools:build qmake:build
 USE_LDCONFIG=	yes