From owner-svn-ports-all@freebsd.org Mon Sep 10 04:45:21 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 937E610A8035; Mon, 10 Sep 2018 04:45:21 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AD8A8F193; Mon, 10 Sep 2018 04:45:21 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 41C8B6365; Mon, 10 Sep 2018 04:45:21 +0000 (UTC) Date: Mon, 10 Sep 2018 04:45:21 +0000 From: Alexey Dokuchaev To: Jan Beich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r479222 - in head/devel: boost-all boost-libs boost-python-libs Message-ID: <20180910044521.GA90644@FreeBSD.org> References: <201809080053.w880rArT081869@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201809080053.w880rArT081869@repo.freebsd.org> User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 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, 10 Sep 2018 04:45:21 -0000 On Sat, Sep 08, 2018 at 12:53:10AM +0000, Jan Beich wrote: > New Revision: 479222 > URL: https://svnweb.freebsd.org/changeset/ports/479222 > > Log: > devel/boost-all: switch to C++17 on FreeBSD >= 11.2 Why? > +# 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 Shouldn't things like Boost use the least supported version by default? ./danfe