[123571] trunk/dports/lang/rust/Portfile

larryv at macports.org larryv at macports.org
Sun Aug 10 22:20:55 PDT 2014


Revision: 123571
          https://trac.macports.org/changeset/123571
Author:   larryv at macports.org
Date:     2014-08-10 22:20:55 -0700 (Sun, 10 Aug 2014)
Log Message:
-----------
rust: Continue removing -Werror flags from build.

Modified Paths:
--------------
    trunk/dports/lang/rust/Portfile

Modified: trunk/dports/lang/rust/Portfile
===================================================================
--- trunk/dports/lang/rust/Portfile	2014-08-11 05:20:53 UTC (rev 123570)
+++ trunk/dports/lang/rust/Portfile	2014-08-11 05:20:55 UTC (rev 123571)
@@ -93,6 +93,10 @@
 
 patchfiles          src_etc_local_stage0.sh.diff
 
+post-patch {
+    # Stop build from treating compiler warnings as errors.
+    reinplace {s/ -Werror//g} mk/platform.mk
+}
 
 # Building the bundled LLVM requires Python 2.4-2.7. All supported
 # OS X releases have 2.6. (Using MacPorts' LLVM ports fails either
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140810/3fe1119d/attachment.html>


More information about the macports-changes mailing list