[135946] trunk/dports/science/volk/Portfile

michaelld at macports.org michaelld at macports.org
Thu May 7 12:17:53 PDT 2015


Revision: 135946
          https://trac.macports.org/changeset/135946
Author:   michaelld at macports.org
Date:     2015-05-07 12:17:53 -0700 (Thu, 07 May 2015)
Log Message:
-----------
volk:
+ tweak general blacklist to not uses {} where they are not required;
+ for +cxx11 and libc++, just use the cxx11 PortGroup to handle compiler blacklist.

Modified Paths:
--------------
    trunk/dports/science/volk/Portfile

Modified: trunk/dports/science/volk/Portfile
===================================================================
--- trunk/dports/science/volk/Portfile	2015-05-07 18:43:01 UTC (rev 135945)
+++ trunk/dports/science/volk/Portfile	2015-05-07 19:17:53 UTC (rev 135946)
@@ -5,7 +5,6 @@
 PortGroup           cmake 1.0
 PortGroup           github 1.0
 PortGroup           muniversal 1.0
-PortGroup           compiler_blacklist_versions 1.0
 
 github.setup        gnuradio volk 83b0994162f512a40fd34dd435e68837b0e224fa
 version             20150504
@@ -33,7 +32,7 @@
 # blacklist GCC < 4.3, since it does not provide <cpuid.h>, which is a
 # required header when compiling using GCC as of 4c967ef1 (2015-05-04).
 
-compiler.blacklist-append {*gcc-3*} {*gcc-4.[0-2]}
+compiler.blacklist-append *gcc-3.* {*gcc-4.[0-2]}
 
 # do VPATH (out of source tree) build
 
@@ -138,8 +137,9 @@
 
         # using libc++;
         # Blacklist Clang not supporting C++11 in some form and all GCC.
+        # Just use the cxx11 PortGroup for this specific case.
 
-        compiler.blacklist-append *gcc* {clang < 500}
+        PortGroup cxx11 1.0
 
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150507/52d58efe/attachment.html>


More information about the macports-changes mailing list