git: 5649da39690f - main - graphics/gdal: repair configure args

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 13:57:20 UTC
The branch main has been updated by adridg:

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

commit 5649da39690f0da1fa3af487dc6388e1ced05ec2
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-03-30 13:49:18 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-03-30 13:57:18 +0000

    graphics/gdal: repair configure args
    
    --with-cpp17 isn't a valid thing to pass to configure,
    even in the presence of C++17. All the same consumers
    build with this flag.
    
    Repairs b71f7e3faa7181387717df55cfd009db723b3d71
    
    Reported by:    sunpoet (maintainer)
---
 graphics/gdal/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index c6a6e941de71..ee31f0951925 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -47,7 +47,7 @@ USES=		compiler:c++17-lang cpe gmake iconv jpeg localbase pkgconfig ssl tar:xz
 CFLAGS+=	-fPIC
 CONFIGURE_ARGS=	--datadir=${PREFIX}/share \
 		--enable-static=yes \
-		--with-cpp17 \
+		--with-cpp14 \
 		--with-crypto=yes \
 		--with-geotiff=yes \
 		--with-gif=yes \