How to handle WITH_CLANG_IS_CC in ports

Yamaya Takashi yamayan at
Thu Nov 29 22:46:32 UTC 2012

On 2012/11/30 06:30, Dimitry Andric wrote:
> On 2012-11-29 20:47, Tobias Rehbein wrote:> Am Fri, Nov 30, 2012 at
> 02:51:31AM +0900 schrieb Yamaya Takashi:
>>> Include Mk/, and
>>> .if ${COMPILER_TYPE} == "clang"
>>>    clang specific code
>>> .endif
>> Thanks. This is exactly what I was looking for. It is available in
>> CURRENT only though.
> FYI, I merged and the rest of the COMPILER_TYPE logic to
> stable/9 in r243041.  It will not be in 9.1-RELEASE, though...
I am NOT committer.
Please commit Mk/

[usr/ports/]Mk/ is differ from
Ports version accepts another compiler, e.g. CC=icc, but Base version not.

More information about the freebsd-ports mailing list