[126152] trunk/dports/gnome/evince/Portfile

Joshua Root jmr at macports.org
Sun Oct 5 01:08:55 PDT 2014


On 2014-10-5 12:16 , Ryan Schmidt wrote:
> 
>> 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.

If the plugin doesn't pass C++ objects to or receive them from other
code, it would even be fine to always build it on 10.6+ (with a libcxx
dep on 10.6).

- Josh


More information about the macports-dev mailing list