From owner-svn-ports-head@freebsd.org Sat Jan 16 01:14:06 2021 Return-Path: Delivered-To: svn-ports-head@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 7A0CD46A4A3; Sat, 16 Jan 2021 01:14:06 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DHg7235Ytz4ZrW; Sat, 16 Jan 2021 01:14:06 +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 5D5E225FC9; Sat, 16 Jan 2021 01:14:06 +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 10G1E6XT015125; Sat, 16 Jan 2021 01:14:06 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10G1E68q015124; Sat, 16 Jan 2021 01:14:06 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202101160114.10G1E68q015124@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 16 Jan 2021 01:14:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561696 - head/devel/boost_build X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/devel/boost_build X-SVN-Commit-Revision: 561696 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 01:14:06 -0000 Author: pkubaj Date: Sat Jan 16 01:14:05 2021 New Revision: 561696 URL: https://svnweb.freebsd.org/changeset/ports/561696 Log: devel/boost_build: fix build on GCC architectures Toolset 'cxx' does not appear to support C++11. MFH: 2021Q1 Modified: head/devel/boost_build/Makefile Modified: head/devel/boost_build/Makefile ============================================================================== --- head/devel/boost_build/Makefile Sat Jan 16 01:10:30 2021 (r561695) +++ head/devel/boost_build/Makefile Sat Jan 16 01:14:05 2021 (r561696) @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${LOCALBASE}/bin/bjam:devel/boost-jam -USES= python:test shebangfix tar:bzip2 +USES= compiler:c++11-lang python:test shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= boostorg @@ -25,12 +25,12 @@ SHEBANG_GLOB= *.py SUB_FILES= pkg-message do-build: - @cd ${WRKSRC} && ./bootstrap.sh + @cd ${WRKSRC} && CXXFLAGS="${CXXFLAGS}" CXX="${CXX}" ./bootstrap.sh do-install: - cd ${WRKSRC} && ./b2 toolset=clang install --prefix=${STAGEDIR}${PREFIX} + cd ${WRKSRC} && ./b2 toolset=${CHOSEN_COMPILER_TYPE} install --prefix=${STAGEDIR}${PREFIX} do-test: # test target fails: https://github.com/boostorg/build/issues/698 - cd ${WRKSRC} && ./b2 toolset=clang test --prefix=${STAGEDIR}${PREFIX} + cd ${WRKSRC} && ./b2 toolset=${CHOSEN_COMPILER_TYPE} test --prefix=${STAGEDIR}${PREFIX} .include