[91936] trunk/dports/x11/gtk-sharp2/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Apr 13 10:40:19 PDT 2012
Revision: 91936
https://trac.macports.org/changeset/91936
Author: jeremyhu at macports.org
Date: 2012-04-13 10:40:18 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
gtk-sharp2: Build fix for glib-2.32
Modified Paths:
--------------
trunk/dports/x11/gtk-sharp2/Portfile
Modified: trunk/dports/x11/gtk-sharp2/Portfile
===================================================================
--- trunk/dports/x11/gtk-sharp2/Portfile 2012-04-13 17:33:40 UTC (rev 91935)
+++ trunk/dports/x11/gtk-sharp2/Portfile 2012-04-13 17:40:18 UTC (rev 91936)
@@ -40,6 +40,14 @@
# mono is not universal
universal_variant no
+post-patch {
+ # Fix build with glib-2.32
+ reinplace "s:<glib/.*>:<glib.h>:" \
+ ${worksrcpath}/glib/glue/list.c \
+ ${worksrcpath}/glib/glue/slist.c \
+ ${worksrcpath}/glib/glue/thread.c
+}
+
post-configure {
# TODO This shouldn't be needed, we need to fix Mono dllmap library path.
fs-traverse {f} ${worksrcpath} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120413/a1e187c3/attachment.html>
More information about the macports-changes
mailing list