Modified: trunk/dports/net/avahi/Portfile (111793 => 111794)
--- trunk/dports/net/avahi/Portfile 2013-10-02 00:41:25 UTC (rev 111793)
+++ trunk/dports/net/avahi/Portfile 2013-10-02 02:58:51 UTC (rev 111794)
@@ -36,6 +36,17 @@
# This preprocessor macro causes a lot of things to be undefined inside netinet/in.h system header.
reinplace "s/-D_XOPEN_SOURCE=500//" ${worksrcpath}/configure
reinplace "s|/System|${destroot}|g" ${worksrcpath}/initscript/darwin/Makefile.in
+
+ # Let avahi build with newer gtk
+ reinplace "s|-DG_DISABLE_DEPRECATED=1||" \
+ ${worksrcpath}/avahi-ui/Makefile.am \
+ ${worksrcpath}/avahi-ui/Makefile.in
+ reinplace "s|-DGDK_DISABLE_DEPRECATED=1||" \
+ ${worksrcpath}/avahi-ui/Makefile.am \
+ ${worksrcpath}/avahi-ui/Makefile.in
+ reinplace "s|-DGTK_DISABLE_DEPRECATED=1||" \
+ ${worksrcpath}/avahi-ui/Makefile.am \
+ ${worksrcpath}/avahi-ui/Makefile.in
}
depends_build port:pkgconfig \