[127398] trunk/dports/lang/ispc/Portfile

takeshi at macports.org takeshi at macports.org
Mon Oct 27 01:35:27 PDT 2014


Revision: 127398
          https://trac.macports.org/changeset/127398
Author:   takeshi at macports.org
Date:     2014-10-27 01:35:27 -0700 (Mon, 27 Oct 2014)
Log Message:
-----------
ispc: use llvm-3.4 on old OSes

Modified Paths:
--------------
    trunk/dports/lang/ispc/Portfile

Modified: trunk/dports/lang/ispc/Portfile
===================================================================
--- trunk/dports/lang/ispc/Portfile	2014-10-27 08:31:11 UTC (rev 127397)
+++ trunk/dports/lang/ispc/Portfile	2014-10-27 08:35:27 UTC (rev 127398)
@@ -18,7 +18,11 @@
 checksums           rmd160  6b135ccd8d28b85f61b9011eec1d7de95c644b29 \
                     sha256  1b65b1c42f337c9533b5cb68279dcf58b22e02f4bb9307d2029943a08a912a17
 
-set llvm_version    3.5
+if {${os.major} < 13} {
+    set llvm_version    3.4
+} else {
+    set llvm_version    3.5
+}
 
 depends_build       port:bison \
                     port:flex \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141027/b3c3ee0e/attachment.html>


More information about the macports-changes mailing list