Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2023 23:09:09 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0ca297ebde92 - main - databases/arrow: unbreak build after 4aec6e124381
Message-ID:  <202305062309.346N99MK044964@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 0ca297ebde9208e840817e54bdaac21bab4bdbc2
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

    databases/arrow: unbreak build after 4aec6e124381
    
    In file included from cpp/src/arrow/ipc/test_common.cc:36:
    In file included from cpp/src/arrow/testing/builder.h:29:
    In file included from cpp/src/arrow/testing/gtest_util.h:31:
    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
---
 databases/arrow/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile
index 4c1cf85ebcd1..1202eee45594 100644
--- a/databases/arrow/Makefile
+++ b/databases/arrow/Makefile
@@ -17,12 +17,13 @@ LICENSE_FILE=	${WRKSRC}/../LICENSE.txt
 
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs
 
-USES=		cmake compiler:c++11-lang localbase pkgconfig python:build
+USES=		cmake compiler:c++14-lang localbase pkgconfig python:build
+USE_CXXSTD=	c++14 # googletest 1.13
 USE_LDCONFIG=	yes
 
 WRKSRC_SUBDIR=	cpp
 
-CMAKE_ARGS=	-DARROW_SIMD_LEVEL=NONE -DARROW_RUNTIME_SIMD_LEVEL=NONE
+CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=14 -DARROW_SIMD_LEVEL=NONE -DARROW_RUNTIME_SIMD_LEVEL=NONE
 CMAKE_OFF=	ARROW_BUILD_STATIC ARROW_WITH_BACKTRACE ARROW_BUILD_TESTS ARROW_BUILD_BENCHMARKS
 
 OPTIONS_GROUP=			COMPRESSION COMPONENTS # components are listed in cpp/cmake_modules/DefineOptions.cmake



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