[102556] trunk/dports/net/avahi/Portfile
cal at macports.org
cal at macports.org
Mon Feb 4 13:08:22 PST 2013
Revision: 102556
https://trac.macports.org/changeset/102556
Author: cal at macports.org
Date: 2013-02-04 13:08:22 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
avahi: prevent use of binary package built against x11 if gtk2 +quartz is installed, closes #37931
Modified Paths:
--------------
trunk/dports/net/avahi/Portfile
Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- trunk/dports/net/avahi/Portfile 2013-02-04 20:59:27 UTC (rev 102555)
+++ trunk/dports/net/avahi/Portfile 2013-02-04 21:08:22 UTC (rev 102556)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name avahi
version 0.6.31
@@ -171,10 +172,26 @@
}
}
+variant x11 {
+ require_active_variants gtk2 x11 quartz
+}
+
+variant quartz {
+ require_active_variants gtk2 quartz x11
+}
+
default_variants +gtk
if {![variant_isset python25] && ![variant_isset python26]} {
default_variants-append +python27
}
+catch {
+ if {[active_variants gtk2 quartz x11]} {
+ default_variants-append +quartz
+ }
+}
+if {![variant_isset quartz]} {
+ default_variants-append +x11
+}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/3c710f3b/attachment-0001.html>
More information about the macports-changes
mailing list