Ticket #29171 (closed defect: fixed)
MacPorts clang shouldn't override system clang
| Reported by: | howarth@… | Owned by: | mfeiri@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | lang | Cc: | jeremyhu@… |
| Port: | clang |
Description
The clang package currently overrides the system clang. The installed MacPorts clang executable should be renamed as mp-clang so as to not block the proper usage of Apple's clang.
Change History
Note: See
TracTickets for help on using
tickets.


This was not an issue before the release of Xcode 4.0 but I agree that the new situation is not optimal. I previously tried to use "--program-suffix=-mp" in configure.args like we do in the gcc Portfiles, but this flags seems to get ignored by the clang build system. For now I can just rename the binaries in a post-destroot phase. To stay in line with our gcc compilers I'd prefer clang-mp and clang++-mp.