freebsd-ports/net/grive2
Piotr Kubaj c86a2c9b1f net/grive2: fix build on GCC architectures
Use C++11 compiler and don't add -D_GLIBCXX_USE_CXX11_ABI=0.

With -D_GLIBCXX_USE_CXX11_ABI=0:
/usr/local/bin/ld: libgrive/CMakeFiles/btest.dir/test/btest/JsonValTest.cc.o: in function `_GLOBAL__sub_I__ZN11JsonValTest4Test11test_methodEv':                                                                    JsonValTest.cc:(.text.startup+0x174): undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring<char const>)'
/usr/local/bin/ld: libgrive/CMakeFiles/btest.dir/test/btest/ValTest.cc.o: in function `boost::unit_test::make_test_case(boost::function<void ()> const&, boost::unit_test::basic_cstring<char const>, boost::unit_test::basic_cstring<char const>, unsigned long)':
ValTest.cc:(.text._ZN5boost9unit_test14make_test_caseERKNS_8functionIFvvEEENS0_13basic_cstringIKcEES8_m[_ZN5boost9unit_test14make_test_caseERKNS_8functionIFvvEEENS0_13basic_cstringIKcEES8_m]+0x58): undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring<char const>)'
collect2: error: ld returned 1 exit status

PR:		241058
Approved by:	cpm (maintainer), linimon (mentor)
2019-10-07 14:26:41 +00:00
..
files
distinfo
Makefile
pkg-descr