Opened 13 years ago

Closed 12 years ago

#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 (Jeremy Huddleston Sequoia)
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 (3)

comment:1 Changed 13 years ago by mfeiri

Owner: changed from macports-tickets@… to mfeiri@…
Status: newassigned

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.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: jeremyhu@… added

This is fixed by the versioned clang ports, right?

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

Yes. And you can use 'port select clang ...' to choose the default one as well

Note: See TracTickets for help on using tickets.