[115746] trunk/dports/net/dnsmasq/Portfile

snc at macports.org snc at macports.org
Fri Jan 10 08:45:42 PST 2014


Revision: 115746
          https://trac.macports.org/changeset/115746
Author:   snc at macports.org
Date:     2014-01-10 08:45:42 -0800 (Fri, 10 Jan 2014)
Log Message:
-----------
dnsmasq: default_variant per variant

Modified Paths:
--------------
    trunk/dports/net/dnsmasq/Portfile

Modified: trunk/dports/net/dnsmasq/Portfile
===================================================================
--- trunk/dports/net/dnsmasq/Portfile	2014-01-10 16:40:30 UTC (rev 115745)
+++ trunk/dports/net/dnsmasq/Portfile	2014-01-10 16:45:42 UTC (rev 115746)
@@ -61,11 +61,15 @@
 livecheck.regex     LATEST_IS_(\\d\\.\\d+)
 
 # TODO: remove no_* variants after 2015-01-09
-if { ! [variant_isset no_dhcp] \
-  && ! [variant_isset no_tftp] \
-  && ! [variant_isset no_ipv6] } {
-    default_variants +dhcp +tftp +ipv6
+if { ! [variant_isset no_dhcp] } {
+    default_variants-append +dhcp
 }
+if { ! [variant_isset no_tftp] } {
+    default_variants-append +tftp
+}
+if { ! [variant_isset no_ipv6] } {
+    default_variants-append +ipv6
+}
 
 variant no_dhcp conflicts dhcp description { obsolete } {}
 variant dhcp conflicts no_dhcp description { Provide built-in DHCP server } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140110/eeef5b4f/attachment.html>


More information about the macports-changes mailing list