Revision: 79968 http://trac.macports.org/changeset/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: -------------- trunk/dports/devel/libssh/Portfile Modified: trunk/dports/devel/libssh/Portfile =================================================================== --- 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