<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/97e8bff579ecebc2255959c91129db9c87889aba">https://github.com/macports/macports-ports/commit/97e8bff579ecebc2255959c91129db9c87889aba</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 97e8bff inkscape: use cxx11 portgroup and remove -stdlib=libstdc++ option
</span>97e8bff is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 97e8bff579ecebc2255959c91129db9c87889aba
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Dec 6 21:49:00 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> inkscape: use cxx11 portgroup and remove -stdlib=libstdc++ option
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Ensures C++ compatibility with glibmm and friends.
</span>---
graphics/inkscape/Portfile | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/inkscape/Portfile b/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8fc6f87..23ba5c7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name inkscape
conflicts inkscape-devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +90,9 @@ platform darwin {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang-425.0.28 cannot handle glibmm's headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 500} gcc-4.0 *gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd ./autogen.sh && ./configure
configure.python ${prefix}/bin/python2.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,19 +107,6 @@ configure.args --without-gnome-vfs \
</span> configure.cppflags-append \
-I${worksrcpath}/src/extension/script
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # clang-425.0.28 cannot handle glibmm's headers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {clang < 500} gcc-4.0 *gcc-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[string match "*clang*" ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${configure.cxx_stdlib} eq "libstdc++"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append -std=c++98
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append -std=c++11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant strict description {Enable strict build} {
configure.args-replace --disable-strict-build --enable-strict-build
}
</pre><pre style='margin:0'>
</pre>