[95685] trunk/dports/gis/libkml/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Jul 19 02:55:27 PDT 2012
Revision: 95685
https://trac.macports.org/changeset/95685
Author: ryandesign at macports.org
Date: 2012-07-19 02:55:25 -0700 (Thu, 19 Jul 2012)
Log Message:
-----------
libkml: fix build with clang by removing "-Werror" from Makefiles (#33104)
Modified Paths:
--------------
trunk/dports/gis/libkml/Portfile
Modified: trunk/dports/gis/libkml/Portfile
===================================================================
--- trunk/dports/gis/libkml/Portfile 2012-07-19 08:02:54 UTC (rev 95684)
+++ trunk/dports/gis/libkml/Portfile 2012-07-19 09:55:25 UTC (rev 95685)
@@ -29,6 +29,17 @@
depends_lib-append port:expat \
port:zlib
+post-patch {
+ # Fix build with clang
+ fs-traverse f ${worksrcpath} {
+ switch [file tail ${f}] {
+ Makefile.in {
+ reinplace "s| -Werror||g" ${f}
+ }
+ }
+ }
+}
+
# Otherwise SWIG will be used if it's installed
configure.args-append --disable-swig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120719/74306c82/attachment-0001.html>
More information about the macports-changes
mailing list