Revision: 148281 https://trac.macports.org/changeset/148281 Author: devans@macports.org Date: 2016-05-02 17:43:54 -0700 (Mon, 02 May 2016) Log Message: ----------- inkscape-devel: if -stdlib=libstdc++ set -std=c++98, should fix build on 10.7, 10.8. Modified Paths: -------------- trunk/dports/graphics/inkscape-devel/Portfile Modified: trunk/dports/graphics/inkscape-devel/Portfile =================================================================== --- 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} {
participants (1)
-
devans@macports.org