[111794] trunk/dports/net/avahi/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Oct 1 19:58:51 PDT 2013
Revision: 111794
https://trac.macports.org/changeset/111794
Author: jeremyhu at macports.org
Date: 2013-10-01 19:58:51 -0700 (Tue, 01 Oct 2013)
Log Message:
-----------
avahi: Build fix with newer gtk3
Modified Paths:
--------------
trunk/dports/net/avahi/Portfile
Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- 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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131001/24c42937/attachment.html>
More information about the macports-changes
mailing list