Modified: trunk/dports/graphics/inkscape-devel/Portfile (148280 => 148281)
--- trunk/dports/graphics/inkscape-devel/Portfile 2016-05-02 23:50:05 UTC (rev 148280)
+++ trunk/dports/graphics/inkscape-devel/Portfile 2016-05-03 00:43:54 UTC (rev 148281)
@@ -96,8 +96,14 @@
configure.cppflags-append \
-I${worksrcpath}/src/extension/script
-if {[string match "*clang*" ${configure.compiler}]} {
- configure.cxxflags-append -std=c++11
+platform darwin {
+ if {[string match "*clang*" ${configure.compiler}]} {
+ if {${configure.cxx_stdlib} eq "libstdc++"} {
+ configure.cxxflags-append -std=c++98
+ } else {
+ configure.cxxflags-append -std=c++11
+ }
+ }
}
variant strict description {Enable strict build} {