[131988] users/devans/GNOME-3/stable/dports/gnome/libsoup/Portfile

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


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

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

Modified: users/devans/GNOME-3/stable/dports/gnome/libsoup/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/libsoup/Portfile	2015-01-22 22:09:01 UTC (rev 131987)
+++ users/devans/GNOME-3/stable/dports/gnome/libsoup/Portfile	2015-01-22 22:09:11 UTC (rev 131988)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           gobject_introspection 1.0
 
 name                libsoup
 version             2.48.1
@@ -31,13 +32,13 @@
                     port:curl
 
 depends_lib         port:libxml2 \
-                    port:glib-networking \
-                    port:gobject-introspection
+                    port:glib-networking
 
+gobject_introspection yes
+
 configure.args      --disable-more-warnings \
                     --disable-silent-rules \
-                    --without-gnome \
-                    --enable-introspection
+                    --without-gnome
 
 # update m4/intltool.m4 and autoreconf
 
@@ -48,29 +49,13 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
-# gobject-introspection uses g-ir-scanner, which uses $CC from env
-build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
-
 test.run            yes
 test.target         check
 
-variant gnome conflicts no_gnome description {Enable GNOME support} {
+variant gnome description {Enable GNOME support} {
     configure.args-delete   --without-gnome
 }
 
-# Legacy no_gnome variant to be removed after 20150102
-variant no_gnome conflicts gnome description {Legacy compatibility variant} {}
+default_variants    +gnome
 
-if {[variant_isset no_gnome]} {
-    default_variants -gnome
-} else {
-    default_variants +gnome
-}
-
-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/20150122/ce9ecbbf/attachment.html>


More information about the macports-changes mailing list