Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2023 02:34:17 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a6a8311b8849 - main - science/libkml: Fix build with Clang 16
Message-ID:  <202309300234.38U2YHrL012843@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309300234.38U2YHrL012843>