[115700] trunk/dports/lang/llvm-3.3/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Jan 8 23:50:02 PST 2014
Revision: 115700
https://trac.macports.org/changeset/115700
Author: jeremyhu at macports.org
Date: 2014-01-08 23:50:02 -0800 (Wed, 08 Jan 2014)
Log Message:
-----------
llvm-3.3: Revert accidental merge with previous commit ... ><
Modified Paths:
--------------
trunk/dports/lang/llvm-3.3/Portfile
Modified: trunk/dports/lang/llvm-3.3/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.3/Portfile 2014-01-09 07:49:02 UTC (rev 115699)
+++ trunk/dports/lang/llvm-3.3/Portfile 2014-01-09 07:50:02 UTC (rev 115700)
@@ -46,7 +46,7 @@
depends_extract bin:svn:subversion
depends_skip_archcheck-append ld64 subversion
- default_variants-append +analyzer
+ default_variants +analyzer
}
#fetch.type svn
@@ -256,33 +256,6 @@
}
}
-set pythonver ""
-set pythonverdot ""
-
-if {![variant_isset python25] && ![variant_isset python26]} {
- default_variants-append +python27
-}
-
-variant python25 conflicts python26 python27 description {Use python 2.5} {
- set pythonver 25
- set pythonverdot 2.5
- configure.args-append --with-python=${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
- set pythonver 26
- set pythonverdot 2.6
- configure.args-append --with-python=${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python25 python26 description {Use python 2.7} {
- set pythonver 27
- set pythonverdot 2.7
- configure.args-append --with-python=${prefix}/bin/python2.7
-}
-
-
-
if {${subport} == "llvm-${llvm_version}"} {
variant ocaml description {Enable generation of OCaml binding} {
depends_lib-append port:ocaml
@@ -295,6 +268,31 @@
} elseif {${subport} == "clang-${llvm_version}"} {
variant arm_runtime description {Build and install the arm runtime for iOS development (requires iOS SDK)} {}
+ set pythonver ""
+ set pythonverdot ""
+
+ if {![variant_isset python25] && ![variant_isset python26]} {
+ default_variants +python27
+ }
+
+ variant python25 conflicts python26 python27 description {Use python 2.5} {
+ set pythonver 25
+ set pythonverdot 2.5
+ configure.args-append --with-python=${prefix}/bin/python2.5
+ }
+
+ variant python26 conflicts python25 python27 description {Use python 2.6} {
+ set pythonver 26
+ set pythonverdot 2.6
+ configure.args-append --with-python=${prefix}/bin/python2.6
+ }
+
+ variant python27 conflicts python25 python26 description {Use python 2.7} {
+ set pythonver 27
+ set pythonverdot 2.7
+ configure.args-append --with-python=${prefix}/bin/python2.7
+ }
+
variant analyzer description {Install clang static analyzer} {
if {[string equal "${pythonver}" ""]} {
ui_error "You mush select a python variant to use the clang static analyzer (+analyzer)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140108/4d24af44/attachment.html>
More information about the macports-changes
mailing list