Revision
79968
Author
snc@macports.org
Date
2011-06-30 18:28:40 -0700 (Thu, 30 Jun 2011)

Log Message

libssh: remove -pedantic-errors, #29888

Modified Paths

Diff

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