[108343] trunk/dports/math/libcerf

ryandesign at macports.org ryandesign at macports.org
Sat Jul 20 01:34:22 PDT 2013


Revision: 108343
          https://trac.macports.org/changeset/108343
Author:   ryandesign at macports.org
Date:     2013-07-20 01:34:21 -0700 (Sat, 20 Jul 2013)
Log Message:
-----------
libcerf: use a patchfile instead of a reinplace, for the usual reasons

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

Added Paths:
-----------
    trunk/dports/math/libcerf/files/
    trunk/dports/math/libcerf/files/patch-configure.diff

Modified: trunk/dports/math/libcerf/Portfile
===================================================================
--- trunk/dports/math/libcerf/Portfile	2013-07-20 08:13:34 UTC (rev 108342)
+++ trunk/dports/math/libcerf/Portfile	2013-07-20 08:34:21 UTC (rev 108343)
@@ -21,10 +21,8 @@
                     sha256  d7059e923d3f370c89fb4d19ed4f827d381bc3f0e36da5595a04aeaaf3e6a859
 extract.suffix      .tgz
 
-post-extract {
-    # prevent compilation error on gcc 4.2 (Mac OS X 10.6)
-    reinplace "s| -Werror||" ${worksrcpath}/configure
-}
+# fix compilation error on gcc 4.2 (Mac OS X 10.6)
+patchfiles          patch-configure.diff
 
 livecheck.type      regex
 livecheck.url       http://apps.jcns.fz-juelich.de/src/libcerf

Added: trunk/dports/math/libcerf/files/patch-configure.diff
===================================================================
--- trunk/dports/math/libcerf/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/math/libcerf/files/patch-configure.diff	2013-07-20 08:34:21 UTC (rev 108343)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-07-17 05:37:54.000000000 -0500
++++ configure	2013-07-20 03:28:43.000000000 -0500
+@@ -11432,7 +11432,7 @@
+ fi
+ 
+ 
+-AM_CFLAGS="-pedantic -Wall -Werror"
++AM_CFLAGS="-pedantic -Wall"
+ 
+ ac_config_headers="$ac_config_headers config.h"
+  # to avoid endless -D options
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130720/98daff71/attachment.html>


More information about the macports-changes mailing list