[35084] trunk/dports/gnome/libgtkhtml3/Portfile

reiffert at macports.org reiffert at macports.org
Sun Mar 16 15:50:19 PDT 2008


Revision: 35084
          http://trac.macosforge.org/projects/macports/changeset/35084
Author:   reiffert at macports.org
Date:     2008-03-16 15:50:18 -0700 (Sun, 16 Mar 2008)

Log Message:
-----------
Fixes building for new glib2. Based on #14656

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

Modified: trunk/dports/gnome/libgtkhtml3/Portfile
===================================================================
--- trunk/dports/gnome/libgtkhtml3/Portfile	2008-03-16 21:17:42 UTC (rev 35083)
+++ trunk/dports/gnome/libgtkhtml3/Portfile	2008-03-16 22:50:18 UTC (rev 35084)
@@ -7,8 +7,8 @@
 version         3.16.3
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     nomaintainer
-categories      gnome 
-platforms       darwin 
+categories      gnome
+platforms       darwin
 description     GTK HTML rendering engine.
 
 long_description \
@@ -40,6 +40,18 @@
 
 depends_run     port:gnome-icon-theme
 
+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
+}
+
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080316/29ca56da/attachment.html


More information about the macports-changes mailing list