[131987] users/devans/GNOME-3/stable/dports/gnome/gnome-desktop/Portfile

devans at macports.org devans at macports.org
Thu Jan 22 14:09:01 PST 2015


Revision: 131987
          https://trac.macports.org/changeset/131987
Author:   devans at macports.org
Date:     2015-01-22 14:09:01 -0800 (Thu, 22 Jan 2015)
Log Message:
-----------
GNOME-3/stable: gnome-desktop, use gobject_introspection portgroup.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-desktop/Portfile

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-desktop/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-desktop/Portfile	2015-01-22 22:08:51 UTC (rev 131986)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-desktop/Portfile	2015-01-22 22:09:01 UTC (rev 131987)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           gobject_introspection 1.0
 
 name                gnome-desktop
 version             3.14.2
@@ -37,7 +38,6 @@
                     path:share/themes/HighContrast/index.theme:gnome-themes-standard \
                     port:adwaita-icon-theme \
                     port:gtk3 \
-                    port:gobject-introspection \
                     port:iso-codes \
                     port:xorg-libXext \
                     port:xorg-libXrandr \
@@ -46,6 +46,8 @@
 
 patchfiles          patch-libgnome-destktop-libgsystem.diff
 
+gobject_introspection yes
+
 # update m4/intltool.m4 and autoreconf
 
 pre-configure {
@@ -55,18 +57,13 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
-configure.args      --enable-introspection=yes \
-                    --disable-maintainer-mode \
+configure.args      --disable-maintainer-mode \
                     --disable-silent-rules \
                     --disable-desktop-docs \
                     --with-gnome-distributor=MacPorts \
                     --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)
@@ -78,10 +75,4 @@
     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/20150122/46177432/attachment-0001.html>


More information about the macports-changes mailing list