[108342] trunk/dports/math/libcerf/Portfile

mojca at macports.org mojca at macports.org
Sat Jul 20 01:13:34 PDT 2013


Revision: 108342
          https://trac.macports.org/changeset/108342
Author:   mojca at macports.org
Date:     2013-07-20 01:13:34 -0700 (Sat, 20 Jul 2013)
Log Message:
-----------
math/libcerf: remove '-Werror' which results in compilation error on 10.6 with gcc 4.2 (closes #39805)

Modified Paths:
--------------
    trunk/dports/math/libcerf/Portfile

Modified: trunk/dports/math/libcerf/Portfile
===================================================================
--- trunk/dports/math/libcerf/Portfile	2013-07-20 06:42:51 UTC (rev 108341)
+++ trunk/dports/math/libcerf/Portfile	2013-07-20 08:13:34 UTC (rev 108342)
@@ -21,6 +21,11 @@
                     sha256  d7059e923d3f370c89fb4d19ed4f827d381bc3f0e36da5595a04aeaaf3e6a859
 extract.suffix      .tgz
 
+post-extract {
+    # prevent compilation error on gcc 4.2 (Mac OS X 10.6)
+    reinplace "s| -Werror||" ${worksrcpath}/configure
+}
+
 livecheck.type      regex
 livecheck.url       http://apps.jcns.fz-juelich.de/src/libcerf
 livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130720/0475f58e/attachment.html>


More information about the macports-changes mailing list