git: 8873734cb134 - main - science/cgribex: Remove GRIB_API option after grib_api deprecation

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 09:34:08 UTC
The branch main has been updated by sunpoet:

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

commit 8873734cb134b6d290ee1bb0be2a26b7f561c3d8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-21 06:33:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-21 09:17:27 +0000

    science/cgribex: Remove GRIB_API option after grib_api deprecation
    
    - Bump PORTREVISION for dependency change
    
    PR:             281652
---
 science/cgribex/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/science/cgribex/Makefile b/science/cgribex/Makefile
index 73489521a395..0c0f443fa99d 100644
--- a/science/cgribex/Makefile
+++ b/science/cgribex/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cgribex
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://code.mpimet.mpg.de/attachments/download/26325/ \
 		LOCAL/sunpoet
@@ -13,16 +14,15 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libtool
 
+CONFIGURE_ARGS=	--without-grpb_api
 CPPFLAGS+=	-DgFortran
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	GRIB_API JASPER SZIP
+OPTIONS_DEFINE=	JASPER SZIP
 OPTIONS_DEFAULT=JASPER SZIP
 
-GRIB_API_CONFIGURE_WITH=grib_api=${LOCALBASE}
-GRIB_API_LIB_DEPENDS=	libgrib_api.so:science/grib_api
 JASPER_CONFIGURE_WITH=	jasper=${LOCALBASE}
 JASPER_LIB_DEPENDS=	libjasper.so:graphics/jasper
 SZIP_CONFIGURE_WITH=	szlib=${LOCALBASE}