How to handle WITH_CLANG_IS_CC in ports

Dimitry Andric dim at FreeBSD.org
Mon Nov 26 15:50:40 UTC 2012


On 2012-11-26 16:16, Nikolai Lifanov wrote:
> On 11/25/2012 10:04 AM, Dimitry Andric wrote:
>> On 2012-11-25 12:49, Tobias Rehbein wrote:
...
>> Just check if OSVERSION >= 1000024, maybe?  Or add some logic to
>> bsd.port.mk that handles this, like was done with pkgng.  For example,
>> introducing a PORTS_COMPILER_TYPE macro like in base.
>
> This is bad.
> People with OSVERSION >= 1000024 and WITHOUT_CLANG_IS_CC set will be
> left out.

Well, this was just a simple example, I'm sure you can figure out a
zillion interesting ways to do this. :-)


More information about the freebsd-ports mailing list