[132110] trunk/dports/gnome/libunique3/Portfile

devans at macports.org devans at macports.org
Fri Jan 23 08:03:31 PST 2015


Revision: 132110
          https://trac.macports.org/changeset/132110
Author:   devans at macports.org
Date:     2015-01-23 08:03:31 -0800 (Fri, 23 Jan 2015)
Log Message:
-----------
libunique3: use gobject_introspection, remove legacy variant +no_x11.

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

Modified: trunk/dports/gnome/libunique3/Portfile
===================================================================
--- trunk/dports/gnome/libunique3/Portfile	2015-01-23 15:58:33 UTC (rev 132109)
+++ trunk/dports/gnome/libunique3/Portfile	2015-01-23 16:03:31 UTC (rev 132110)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       gobject_introspection 1.0
 
 name            libunique3
 set gname       libunique
@@ -29,31 +30,21 @@
 depends_build   port:pkgconfig
 
 depends_lib     port:gtk3 \
-                port:dbus-glib \
-                port:gobject-introspection
+                port:dbus-glib
 
+gobject_introspection yes
+
 configure.args  --enable-maintainer-flags=no \
-                --enable-introspection \
                 --without-x
 
-# gobject-introspection uses g-ir-scanner, which uses $CC from env
-build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
-
-# Legacy no_x11 variant to be removed after June 2014.
-variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
-
-variant x11 conflicts no_x11 {
+variant x11 {
     depends_lib-append    port:xorg-libX11
     configure.args-append --x-includes=${prefix}/include \
                           --x-libraries=${prefix}/lib
     configure.args-delete --without-x
 }
 
-if {[variant_isset no_x11]} {
-    default_variants -x11
-} else {
-    default_variants +x11
-}
+default_variants +x11
 
 livecheck.type  gnome
 livecheck.name  ${gname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150123/11f13c1a/attachment-0001.html>


More information about the macports-changes mailing list