git: a6a8311b8849 - main - science/libkml: Fix build with Clang 16

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 02:34:17 UTC
The branch main has been updated by sunpoet:

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

commit a6a8311b884907cf8a6aac3b3b3038f5bdd34751
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 02:33:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 02:34:10 +0000

    science/libkml: Fix build with Clang 16
    
    Clang 16 uses c++17 by default.
---
 science/libkml/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/libkml/Makefile b/science/libkml/Makefile
index e0ea47db04f9..f545aaa97ef3 100644
--- a/science/libkml/Makefile
+++ b/science/libkml/Makefile
@@ -19,6 +19,7 @@ USES=		cmake compiler:c++11-lang minizip pathfix
 CMAKE_OFF=	BUILD_TESTING WITH_JAVA WITH_PYTHON WITH_SWIG
 CMAKE_ON=	BUILD_SHARED_LIBS
 LDFLAGS+=	-lz
+USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes