[macports-ports] 06/10: octave: use cxx_stdlib instead of configure.cxx_stdlib

Ryan Schmidt ryandesign at macports.org
Thu Nov 30 16:24:31 UTC 2017


On Nov 11, 2017, at 10:14, Marcus Calhoun-Lopez wrote:

> Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/8cd5981d0693e4d39f71e5c640995143433132b0
> 
> commit 8cd5981d0693e4d39f71e5c640995143433132b0
> 
> Author: Marcus Calhoun-Lopez
> AuthorDate: Sat Nov 11 08:17:48 2017 -0700
> 
> 
>     octave: use cxx_stdlib instead of configure.cxx_stdlib
>     
>     The cxx11 PG may change the value of configure.cxx_stdlib.


> --- a/math/octave/Portfile
> +++ b/math/octave/Portfile
> @@ -544,7 +544,7 @@ default_variants-append +docs
> 
>  #    "Magick::Image::ping(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)"
>  set magickConflict {}
>  set magickDefault yes
> -if {${configure.cxx_stdlib} ne "libstdc++"} {
> +if {${cxx_stdlib} ne "libstdc++"} {

I don't understand this change. What's the relationship between configure.cxx_stdlib (the only variable any other port uses for this) and cxx_stdlib (which I've never heard of before)?



More information about the macports-dev mailing list