[100008] trunk/dports/devel/boost/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Nov 23 18:17:37 PST 2012


Revision: 100008
          https://trac.macports.org/changeset/100008
Author:   ryandesign at macports.org
Date:     2012-11-23 18:17:37 -0800 (Fri, 23 Nov 2012)
Log Message:
-----------
boost: only make +python27 a default variant if no other python variant has been selected (#37075) nor the debug variant (#37111)

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2012-11-23 23:45:59 UTC (rev 100007)
+++ trunk/dports/devel/boost/Portfile	2012-11-24 02:17:37 UTC (rev 100008)
@@ -179,8 +179,18 @@
     }]
 }
 
-default_variants +no_single +no_static +python27
+if {![variant_isset debug]} {
+    set selected_python python27
+    foreach s ${pythons_suffixes} {
+        if {[variant_isset python${s}]} {
+            set selected_python python${s}
+        }
+    }
+    default_variants +${selected_python}
+}
 
+default_variants +no_single +no_static
+
 variant debug description {Builds debug versions of the libraries as well} {
     build.args-delete   variant=release
     build.args-append   variant=debug,release
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121123/66638102/attachment.html>


More information about the macports-changes mailing list