Revision
140047
Author
ryandesign@macports.org
Date
2015-09-07 18:31:41 -0700 (Mon, 07 Sep 2015)

Log Message

pan2: fix build on Mavericks and later by forcing the use of libstdc++ (#41402)

Modified Paths

Diff

Modified: trunk/dports/news/pan2/Portfile (140046 => 140047)


--- trunk/dports/news/pan2/Portfile	2015-09-08 01:30:46 UTC (rev 140046)
+++ trunk/dports/news/pan2/Portfile	2015-09-08 01:31:41 UTC (rev 140047)
@@ -45,6 +45,11 @@
     xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
+# Build failure with libc++: https://bugzilla.gnome.org/show_bug.cgi?id=712539
+# Forcing the use of libstdc++ is acceptable because pan2 does not provide any
+# C++ libraries and does not link with any C++ libraries.
+configure.cxx_stdlib libstdc++
+
 configure.cmd       ./autogen.sh
 
 configure.args      --disable-silent-rules