[107413] trunk/dports/audio/libcanberra/Portfile

devans at macports.org devans at macports.org
Thu Jun 27 15:27:00 PDT 2013


Revision: 107413
          https://trac.macports.org/changeset/107413
Author:   devans at macports.org
Date:     2013-06-27 15:27:00 -0700 (Thu, 27 Jun 2013)
Log Message:
-----------
libcanberra: add +x11 default variant, disable GTK support which demands libX11 when -x11 is asserted.

Modified Paths:
--------------
    trunk/dports/audio/libcanberra/Portfile

Modified: trunk/dports/audio/libcanberra/Portfile
===================================================================
--- trunk/dports/audio/libcanberra/Portfile	2013-06-27 20:13:38 UTC (rev 107412)
+++ trunk/dports/audio/libcanberra/Portfile	2013-06-27 22:27:00 UTC (rev 107413)
@@ -5,7 +5,7 @@
 
 name                libcanberra
 version             0.30
-revision            1
+revision            2
 license             LGPL-2.1+
 categories          audio devel
 maintainers         nomaintainer
@@ -42,7 +42,14 @@
                     --disable-silent-rules \
                     --disable-tdb \
                     --disable-udev \
-                    --enable-gtk
+                    --disable-gtk
 
+variant x11 {
+    depends_lib-append  port:xorg-libX11
+    configure.args-replace  --disable-gtk --enable-gtk
+}
+
+default_variants +x11
+
 livecheck.type      regex
 livecheck.regex     libcanberra-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130627/780e3f5f/attachment.html>


More information about the macports-changes mailing list