[68831] trunk/dports/devel/libmcs/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jun 15 00:29:00 PDT 2010


Revision: 68831
          http://trac.macports.org/changeset/68831
Author:   ryandesign at macports.org
Date:     2010-06-15 00:28:54 -0700 (Tue, 15 Jun 2010)
Log Message:
-----------
libmcs: remove terminal color sequences in the output shown during the build phase so that the log is more readable; see #25256

Modified Paths:
--------------
    trunk/dports/devel/libmcs/Portfile

Modified: trunk/dports/devel/libmcs/Portfile
===================================================================
--- trunk/dports/devel/libmcs/Portfile	2010-06-15 07:10:24 UTC (rev 68830)
+++ trunk/dports/devel/libmcs/Portfile	2010-06-15 07:28:54 UTC (rev 68831)
@@ -31,6 +31,11 @@
     sha1    683f0c62aa8374f5ec1bf32e5b778a82e638ae21 \
     rmd160  6c8e2f5afc3c4dd1c951f73131cd5d3c6751c8a0
 
+post-patch {
+    # Remove terminal color sequences so the log is readable.
+    reinplace {s|\\033[^m]*m||g} ${worksrcpath}/buildsys.mk.in
+}
+
 # These are just temporary since i dont want to install all the dependencies.
 configure.args \
     --disable-gconf \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100615/606cd57e/attachment-0001.html>


More information about the macports-changes mailing list