[115796] trunk/dports/devel/gtkimageview/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Jan 11 10:40:56 PST 2014


Revision: 115796
          https://trac.macports.org/changeset/115796
Author:   jeremyhu at macports.org
Date:     2014-01-11 10:40:56 -0800 (Sat, 11 Jan 2014)
Log Message:
-----------
gtkimageview: Build fix

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

Modified: trunk/dports/devel/gtkimageview/Portfile
===================================================================
--- trunk/dports/devel/gtkimageview/Portfile	2014-01-11 17:18:19 UTC (rev 115795)
+++ trunk/dports/devel/gtkimageview/Portfile	2014-01-11 18:40:56 UTC (rev 115796)
@@ -30,6 +30,13 @@
 
 depends_lib     port:gtk2
 
+post-patch {
+    # We can't use configure.cflags for this because they place their -Werror *after* them
+    reinplace "s:-Werror:-Werror -Wno-error=unused-function:" \
+        ${worksrcpath}/configure.in \
+        ${worksrcpath}/configure
+}
+
 livecheck.type  regex
 livecheck.url   ${homepage}
 livecheck.regex "^.*/${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}.*<\/li>\$"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140111/facd08fd/attachment.html>


More information about the macports-changes mailing list