Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Tue, 17 Apr 2012 12:28:19 -0700
On Tue, Apr 17, 2012 at 2:49 AM, Dimitry Andric <dim_at_freebsd.org> wrote:
> On 2012-04-17 11:36, Anton Shterenlikht wrote:
>>
>> On Tue, Apr 17, 2012 at 11:18:29AM +0200, Dimitry Andric wrote:
>
> ...
>
>>> That said, i think it may be time to bow to the pressure, and just put a
>>> fixup for this issue in kmod.mk, and the other .mk files, like I
>>> initially did in r232473, but with a BIG FAT WARNING printed, so you at
>>> least know you are attempting to shoot your extremities. :)
>>
>>
>> No, I wouldn't want that.
>> It's just that I thought the ports system
>> never uses anything from /usr/src.
>
>
> Well, only the ports that build kernel modules need it, as far as I
> know.  This is because in FreeBSD we do not install the 'full' kernel
> headers anywhere during installworld.
>
> Maybe we could adopt the Linux solution and dump them somewhere in a
> versioned directory. :)

Some system utilities, the most commonly noted is lsof(8), also
reference the source tree and will either not build or fail if the
source tree and the installed systems don't agree.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558_at_gmail.com
Received on Tue Apr 17 2012 - 17:28:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC