[37374] trunk/dports/gnome/libgtkhtml312/Portfile

jmr at macports.org jmr at macports.org
Wed Jun 4 19:51:36 PDT 2008


Revision: 37374
          http://trac.macosforge.org/projects/macports/changeset/37374
Author:   jmr at macports.org
Date:     2008-06-04 19:51:35 -0700 (Wed, 04 Jun 2008)

Log Message:
-----------
libgtkhtml312: fix building with current glib2. Closes #15511.

Modified Paths:
--------------
    trunk/dports/gnome/libgtkhtml312/Portfile

Modified: trunk/dports/gnome/libgtkhtml312/Portfile
===================================================================
--- trunk/dports/gnome/libgtkhtml312/Portfile	2008-06-05 00:08:35 UTC (rev 37373)
+++ trunk/dports/gnome/libgtkhtml312/Portfile	2008-06-05 02:51:35 UTC (rev 37374)
@@ -44,6 +44,18 @@
                 port:orbit2 \
                 port:libglade2
 
+post-patch {
+	reinplace -E "/^.*DISABLE_DEPRECATED.*\$/d" \
+		${worksrcpath}/components/html-editor/Makefile.am \
+		${worksrcpath}/components/html-editor/Makefile.in \
+		${worksrcpath}/src/Makefile.am \
+		${worksrcpath}/src/Makefile.in
+
+	reinplace -E "s:-DG_DISABLE_DEPRECATED=1::g" \
+		${worksrcpath}/a11y/Makefile.am \
+		${worksrcpath}/a11y/Makefile.in
+}
+
 configure.args  --enable-file-chooser
 
 livecheck.check regex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080604/81235f53/attachment.htm 


More information about the macports-changes mailing list