svn commit: r479222 - in head/devel: boost-all boost-libs boost-python-libs

Alexey Dokuchaev danfe at FreeBSD.org
Mon Sep 10 04:45:21 UTC 2018


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


More information about the svn-ports-head mailing list