[macports-ports] branch master updated: libsigcxx3: append macports-gcc-7 to fallback list
Ryan Schmidt
ryandesign at macports.org
Wed May 23 08:33:47 UTC 2018
On May 22, 2018, at 17:56, David B. Evans wrote:
> David B. Evans (dbevans) pushed a commit to branch master
> in repository macports-ports.
>
>
> https://github.com/macports/macports-ports/commit/72943fb126dd2cdb71d5651a42cb9d65398963ef
>
> The following commit(s) were added to refs/heads/master by this push:
>
> new 72943fb libsigcxx3: append macports-gcc-7 to fallback list
>
> 72943fb is described below
>
>
> commit 72943fb126dd2cdb71d5651a42cb9d65398963ef
>
> Author: David B. Evans
> AuthorDate: Tue May 22 15:56:11 2018 -0700
>
>
> libsigcxx3: append macports-gcc-7 to fallback list
>
>
>
> Attempt to fix build on 10.5 ppc.
>
> ---
> devel/libsigcxx3/Portfile | 1 +
> 1 file changed, 1 insertion(+)
>
>
> diff --git a/devel/libsigcxx3/Portfile b/devel/libsigcxx3/Portfile
> index bac577d..a9380e6 100644
> --- a/devel/libsigcxx3/Portfile
> +++ b/devel/libsigcxx3/Portfile
> @@ -46,6 +46,7 @@ compiler.blacklist-append {clang < 900.0.39} macports-clang-3.*
> # powerpc platforms want to use macports-gcc-6
> # C++17 support requires macports-gcc-7
> compiler.blacklist-append macports-gcc-6
> +compiler.fallback-append macports-gcc-7
As of MacPorts 2.4.3, macports-gcc-6 and macports-gcc-7 are already in the fallback list, so this line is unnecessary and should be removed.
The problem is that the cxx11 1.1 portgroup uses "compiler.whitelist macports-gcc-6", which means that it cannot use any other compiler. This was done before MacPorts 2.4.3 -- before MacPorts base knew about using macports-gcc. The portgroup needs to be changed to use compiler.blacklist instead of compiler.whitelist.
More information about the macports-dev
mailing list