| 125 | |
| 126 | ==== Make Blacklisting MacPorts Compilers Easier ==== #blacklisting |
| 127 | Not all compilers work with all ports. |
| 128 | For example, a port may require [https://en.wikipedia.org/wiki/C%2B%2B11 C++11], which is not supported by GCC 4.2, which is the default compilers on older macOS systems. |
| 129 | MacPorts has a mechanism to blacklist compilers that do not meet the port's requirements. |
| 130 | Currently, blacklisting a range of compilers is very easy (e.g. `compiler.blacklist {clang < 500}` ensures that the Clang compiler supports C++11). |
| 131 | However, this only works for compilers provided by Xcode. |
| 132 | Ports can also use compilers provided by MacPorts. |
| 133 | It would be nice, for example, to be able to have something like `compiler.blacklist {macports-clang < 6.0}`. |
| 134 | |
| 135 | * Difficulty: Easy to Medium |
| 136 | * Languages: Tcl |
| 137 | * Potential mentors: mcalhoun |