From owner-svn-ports-all@freebsd.org Mon Oct 7 14:26:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AF7D130B1E; Mon, 7 Oct 2019 14:26:42 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46n2q629LGz456P; Mon, 7 Oct 2019 14:26:42 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A9B2FEFC; Mon, 7 Oct 2019 14:26:42 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x97EQgs4070029; Mon, 7 Oct 2019 14:26:42 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x97EQfdj070028; Mon, 7 Oct 2019 14:26:41 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201910071426.x97EQfdj070028@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 7 Oct 2019 14:26:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513951 - in head/net/grive2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/net/grive2: . files X-SVN-Commit-Revision: 513951 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2019 14:26:42 -0000 Author: pkubaj Date: Mon Oct 7 14:26:41 2019 New Revision: 513951 URL: https://svnweb.freebsd.org/changeset/ports/513951 Log: 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)' /usr/local/bin/ld: libgrive/CMakeFiles/btest.dir/test/btest/ValTest.cc.o: in function `boost::unit_test::make_test_case(boost::function const&, boost::unit_test::basic_cstring, boost::unit_test::basic_cstring, 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)' collect2: error: ld returned 1 exit status PR: 241058 Approved by: cpm (maintainer), linimon (mentor) Deleted: head/net/grive2/files/patch-libgrive_CMakeLists.txt Modified: head/net/grive2/Makefile Modified: head/net/grive2/Makefile ============================================================================== --- head/net/grive2/Makefile Mon Oct 7 14:14:46 2019 (r513950) +++ head/net/grive2/Makefile Mon Oct 7 14:26:41 2019 (r513951) @@ -20,7 +20,7 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgpg-error.so:security/libgpg-error \ libyajl.so:devel/yajl -USES= cmake compiler localbase pkgconfig +USES= cmake compiler:c++11-lang localbase pkgconfig CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing