Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 08:26:34 -0500
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
Cc:        Tobias Rehbein <tobias.rehbein@web.de>, Dimitry Andric <dim@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: How to handle WITH_CLANG_IS_CC in ports
Message-ID:  <50B8B40A.8010000@mail.lifanov.com>
In-Reply-To: <50B7E5CC.70203@kbh.biglobe.ne.jp>
References:  <20121125114918.GA35966@oshi.local> <CAJp7RHZuB2t=QAVs3QwAqz7T%2BMbwiL1mMz8o9u0C4S%2BBKX_3Lg@mail.gmail.com> <20121127162737.GB1790@oshi.local> <CAJp7RHY17pm_FNMn6vUHELU8FPBMhC0nWKVRYNPY3FRdpULUuA@mail.gmail.com> <50B7916E.4070102@mail.lifanov.com> <50B7A0A3.8030604@kbh.biglobe.ne.jp> <20121129194701.GA3017@oshi.local> <50B7D3F7.4020201@FreeBSD.org> <50B7E5CC.70203@kbh.biglobe.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/29/2012 05:46 PM, Yamaya Takashi wrote:
> 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/bsd.compiler.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 bsd.compiler.mk 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/bsd.compiler.mk.
>
> [usr/ports/]Mk/bsd.compiler.mk is differ from
> [usr/src/]share/mk/bsd.compiler.mk.
> Ports version accepts another compiler, e.g. CC=icc, but Base version not.
>
>
>

Should it be sufficient to use logic like COMPILER_TYPE in combination 
with OSVERSION?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B8B40A.8010000>