[79968] trunk/dports/devel/libssh/Portfile

snc at macports.org snc at macports.org
Thu Jun 30 18:28:40 PDT 2011


Revision: 79968
          http://trac.macports.org/changeset/79968
Author:   snc at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110630/f1919808/attachment.html>


More information about the macports-changes mailing list