[132074] trunk/dports/gnome/gcr

devans at macports.org devans at macports.org
Fri Jan 23 03:37:27 PST 2015


Revision: 132074
          https://trac.macports.org/changeset/132074
Author:   devans at macports.org
Date:     2015-01-23 03:37:27 -0800 (Fri, 23 Jan 2015)
Log Message:
-----------
gcr: use gobject_introspection portgroup.

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

Property Changed:
----------------
    trunk/dports/gnome/gcr/


Property changes on: trunk/dports/gnome/gcr
___________________________________________________________________
Modified: svn:mergeinfo
   - /users/devans/GNOME-3/stable/dports/gnome/gcr:113175-129090
/users/devans/GNOME-3/unstable/dports/gnome/gcr:117866-118152,125236-125720
   + /users/devans/GNOME-3/stable/dports/gnome/gcr:113175-132067
/users/devans/GNOME-3/unstable/dports/gnome/gcr:117866-118152,125236-125720

Modified: trunk/dports/gnome/gcr/Portfile
===================================================================
--- trunk/dports/gnome/gcr/Portfile	2015-01-23 11:37:20 UTC (rev 132073)
+++ trunk/dports/gnome/gcr/Portfile	2015-01-23 11:37:27 UTC (rev 132074)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           gobject_introspection 1.0
 
 name                gcr
 version             3.14.0
@@ -32,7 +33,6 @@
 depends_lib         port:desktop-file-utils \
                     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                     port:gtk3 \
-                    port:gobject-introspection \
                     port:p11-kit \
                     port:libgcrypt \
                     port:gnupg \
@@ -48,6 +48,7 @@
 # https://bugzilla.gnome.org/show_bug.cgi?id=688678
 
 require_active_variants port:gtk3 x11
+gobject_introspection yes
 
 # update build/m4/intltool.m4 and autoreconf
 
@@ -58,17 +59,12 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
-configure.args      --enable-introspection=yes \
-                    --enable-vala=yes \
+configure.args      --enable-vala=yes \
                     --disable-schemas-compile \
                     --disable-update-mime \
                     --disable-update-icon-cache \
                     --disable-silent-rules
 
-# 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}"
-
 pre-activate {
     if {![catch {set installed [lindex [registry_active gnome-keyring] 0]}]} {
         set _version [lindex $installed 1]
@@ -85,10 +81,4 @@
     system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
 }
 
-platform darwin 8 {
-    # The rules enabled by gobject-introspection require GNU make 3.81+
-    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/20150123/7b8e1e45/attachment.html>


More information about the macports-changes mailing list