[126152] trunk/dports/gnome/evince/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Oct 4 18:16:49 PDT 2014
> On Oct 4, 2014, at 11:21 AM, devans at macports.org wrote:
>
> Revision
> 126152
> Author
> devans at macports.org
> Date
> 2014-10-04 09:21:18 -0700 (Sat, 04 Oct 2014)
> Log Message
>
> evince: disable browser-plugin on darwin 12 and earlier due to C++11 libc++ requirement.
> Modified Paths
>
> • trunk/dports/gnome/evince/Portfile
> Diff
>
> Modified: trunk/dports/gnome/evince/Portfile (126151 => 126152)
>
> --- trunk/dports/gnome/evince/Portfile 2014-10-04 15:32:35 UTC (rev 126151)
> +++ trunk/dports/gnome/evince/Portfile 2014-10-04 16:21:18 UTC (rev 126152)
>
> @@ -72,6 +72,13 @@
>
> --enable-comics \
>
> --enable-t1lib
>
>
>
> +# disable browser plugin on darwin 12 and earlier
> +# due to requirement for -std=c++11 -stdlib=libc++
> +
> +if {${os.major} < 13} {
> + configure.args-append --disable-browser-plugin
> +}
It is possible to configure MacPorts to use stdlib=libc++ on 10.8 and 10.7, and possibly 10.6 with some extra work. So perhaps you should base this condition on whether ${configure.cxx_stdlib} eq "libstdc++", rather than on the OS version.
More information about the macports-dev
mailing list