Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2018 00:53:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479222 - in head/devel: boost-all boost-libs boost-python-libs
Message-ID:  <201809080053.w880rArT081869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Sep  8 00:53:10 2018
New Revision: 479222
URL: https://svnweb.freebsd.org/changeset/ports/479222

Log:
  devel/boost-all: switch to C++17 on FreeBSD >= 11.2
  
  PR:		231077
  Exp-run by:	antoine

Modified:
  head/devel/boost-all/compiled.mk
  head/devel/boost-libs/Makefile   (contents, props changed)
  head/devel/boost-python-libs/Makefile   (contents, props changed)

Modified: head/devel/boost-all/compiled.mk
==============================================================================
--- head/devel/boost-all/compiled.mk	Sat Sep  8 00:15:09 2018	(r479221)
+++ head/devel/boost-all/compiled.mk	Sat Sep  8 00:53:10 2018	(r479222)
@@ -4,8 +4,15 @@ MAKE_CMD=	bjam
 MAKEFILE=	#
 MAKE_FLAGS=	#
 ALL_TARGET=	stage
+# XXX Drop conditional after 10.4 EOL as both libstdc++ 7 and libc++ 6
+#     have near complete C++17 support.
+.if exists(/usr/lib/libstdc++.so) || exists(/usr/include/c++/v1/__undef_macros)
+USES+=		compiler:c++17-lang
+USE_CXXSTD=	gnu++17
+.else
 USES+=		compiler:c++14-lang
 USE_CXXSTD=	gnu++14
+.endif
 
 PLIST_SUB+=	BOOST_SHARED_LIB_VER=${PORTVERSION}
 

Modified: head/devel/boost-libs/Makefile
==============================================================================
--- head/devel/boost-libs/Makefile	Sat Sep  8 00:15:09 2018	(r479221)
+++ head/devel/boost-libs/Makefile	Sat Sep  8 00:53:10 2018	(r479222)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	boost-libs
-PORTREVISION=	0
+PORTREVISION=	1
 
 COMMENT=	Free portable C++ libraries (without Boost.Python)
 

Modified: head/devel/boost-python-libs/Makefile
==============================================================================
--- head/devel/boost-python-libs/Makefile	Sat Sep  8 00:15:09 2018	(r479221)
+++ head/devel/boost-python-libs/Makefile	Sat Sep  8 00:53:10 2018	(r479222)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	boost-libs
+PORTREVISION=	1
 COMMENT=	Framework for interfacing Python and C++
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809080053.w880rArT081869>