[153688] trunk/dports/lang/libomp/Portfile

eborisch at macports.org eborisch at macports.org
Sat Oct 8 00:04:40 CEST 2016


Revision: 153688
          https://trac.macports.org/changeset/153688
Author:   eborisch at macports.org
Date:     2016-10-07 15:04:40 -0700 (Fri, 07 Oct 2016)
Log Message:
-----------
libomp*: Try to fix build on older OSes.

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

Modified: trunk/dports/lang/libomp/Portfile
===================================================================
--- trunk/dports/lang/libomp/Portfile	2016-10-07 22:01:48 UTC (rev 153687)
+++ trunk/dports/lang/libomp/Portfile	2016-10-07 22:04:40 UTC (rev 153688)
@@ -4,10 +4,10 @@
 PortSystem              1.0
 PortGroup               cmake 1.0
 PortGroup               muniversal 1.0
-PortGroup               compiler_blacklist_versions 1.0
 PortGroup               github 1.0
 
 name                    libomp
+revision                1
 maintainers             eborisch openmaintainer
 homepage                http://openmp.llvm.org
 description             The OpenMP subproject of LLVM
@@ -55,8 +55,12 @@
 
 cmake.out_of_source     yes
 
-# According to documentation builds with clang >= 3.3
-compiler.blacklist-append {clang < 500} *gcc*
+platform darwin {
+    if {${os.major} <= 12} {
+        # Clang 3.7 and later may depend on this port
+        compiler.whitelist      macports-clang-3.6 
+    }
+}
 
 default_variants        +universal
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161007/44957c4a/attachment-0002.html>


More information about the macports-changes mailing list