svn commit: r561696 - head/devel/boost_build
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Jan 16 01:14:06 UTC 2021
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 <bsd.port.mk>
More information about the svn-ports-all
mailing list