Modified: trunk/dports/devel/libssh/Portfile (79967 => 79968)
--- trunk/dports/devel/libssh/Portfile 2011-07-01 01:27:57 UTC (rev 79967)
+++ trunk/dports/devel/libssh/Portfile 2011-07-01 01:28:40 UTC (rev 79968)
@@ -30,6 +30,11 @@
post-extract { file mkdir ${workpath}/build }
+patch {
+ # remove pedantic from build
+ reinplace "s| -pedantic-errors||" ${worksrcpath}/cmake/Modules/DefineCompilerFlags.cmake
+}
+
# standard post-arg, where to find the primary CMakeLists.txt file.
configure.post_args ../${distname}
configure.dir ${workpath}/build