git: 8e1e95d482a4 - main - x11-fonts/ots: unbreak build after 4aec6e124381

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 06 May 2023 23:09:11 UTC
The branch main has been updated by jbeich:

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

commit 8e1e95d482a43e11323ecb4bd83a7e70171a1329
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-06 21:43:21 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-06 23:06:49 +0000

    x11-fonts/ots: unbreak build after 4aec6e124381
    
    In file included from ../tests/cff_charstring_test.cc:7:
    In file included from /usr/local/include/gtest/gtest.h:64:
    In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
    In file included from /usr/local/include/gtest/gtest-message.h:57:
    /usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
     #error C++ versions less than C++14 are not supported.
      ^
    
    Reported by:    pkg-fallout
---
 x11-fonts/ots/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-fonts/ots/Makefile b/x11-fonts/ots/Makefile
index 1ef563fba129..2b2cc1c08480 100644
--- a/x11-fonts/ots/Makefile
+++ b/x11-fonts/ots/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS=	libbrotlidec.so:archivers/brotli \
 		liblz4.so:archivers/liblz4 \
 		libwoff2dec.so:devel/woff2
 
-USES=		compiler:c++11-lang meson pkgconfig tar:xz
+USES=		compiler:c++14-lang meson pkgconfig tar:xz
+USE_CXXSTD=	c++14 # googletest 1.13
 
 MESON_ARGS=	--default-library=both -Ddebug=false -Dgraphite=true