Changes between Version 72 and Version 73 of PortfileRecipes
- Timestamp:
- Aug 27, 2013, 2:51:12 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v72 v73 385 385 }}} 386 386 387 Note that the globs are used to match patterns in the name. The first example above will also match macports-llvm-gcc-4.2, and the second example will also match macports-clang-*.387 Note that above examples only work as of r104174 (which is in MacPorts 2.2), because that commit added support for globs being used to match patterns in the compiler name. For an example of how these globs work, the first example above will also match macports-llvm-gcc-4.2, and the second example will also match macports-clang-*. 388 388 389 389 If your port works with neither clang nor llvm-gcc-4.2, the fallback will be to gcc-4.2 (provided by the apple-gcc-4.2 port if it's not available). It is becoming increasingly important that ports build successfully with clang since it has been the default compiler since Xcode 4.2, and Apple no longer supports the use of gcc.