[127740] trunk/dports/gnome/gnome-desktop/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 2 10:55:36 PST 2014


Revision: 127740
          https://trac.macports.org/changeset/127740
Author:   ryandesign at macports.org
Date:     2014-11-02 10:55:35 -0800 (Sun, 02 Nov 2014)
Log Message:
-----------
gnome-desktop: add the usual lines required when using gobject-introspection (#45263)

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

Modified: trunk/dports/gnome/gnome-desktop/Portfile
===================================================================
--- trunk/dports/gnome/gnome-desktop/Portfile	2014-11-02 17:50:39 UTC (rev 127739)
+++ trunk/dports/gnome/gnome-desktop/Portfile	2014-11-02 18:55:35 UTC (rev 127740)
@@ -62,6 +62,10 @@
                     --x-includes=${prefix}/include \
                     --x-libraries=${prefix}/lib
 
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+destroot.args-append    CC="${configure.cc} ${configure.cc_archflags}"
+
 #
 #  portions of this port are strictly X11 specific
 #  so a +quartz build is not possible (fails in configure if X11 is absent)
@@ -71,4 +75,10 @@
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
 }
 
+# The rules enabled by gobject-introspection require GNU make 3.81+
+platform darwin 8 {
+    depends_build-append    port:gmake
+    build.cmd               ${prefix}/bin/gmake
+}
+
 livecheck.type      gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141102/0b954ed1/attachment.html>


More information about the macports-changes mailing list