databases/arrow: unbreak build after 4aec6e1243

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
This commit is contained in:
Jan Beich 2023-05-06 21:43:21 +00:00
parent 27e4f43fc6
commit 0ca297ebde

View file

@ -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