From owner-freebsd-current@FreeBSD.ORG Tue Apr 17 19:28:21 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FA86106566C; Tue, 17 Apr 2012 19:28:21 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 934498FC1D; Tue, 17 Apr 2012 19:28:20 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so778672wib.13 for ; Tue, 17 Apr 2012 12:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=A5PL7qjS17FYw3zisL8BzteLFTee6aWDIbgWe4ccPIA=; b=vYPlQXZRvlkLeNR4Wf7+9AitNVgt+odK7/PBRO0df1s0C9g9qoXHGjtQXIcYx9H4Gb KjC1ZcjQs7IbXW/BcuFQAJ+8FdMT8G+94gvy/A4s/L8Rgv1uWMM85cfJguFN2BBQeJGh H2sqCCAcmt6zRW13Hq3leyvgPCxaud9PEnAtnDh0EECUvGbHdWQ/tSmWg1r60JifV2Lg EUkx1KKFhvPyji+Qi+QJn4BDB2t7pcEGW5Ln05m+64htxjO61cM8apewi8WuWSlnq3sD 6/HVcBtFl1UN2n7P5cuA84dRvdo1FLiVy+eL16KBzmrqrO+rKlXmaboGHIT80JuvmA8U JF1Q== MIME-Version: 1.0 Received: by 10.216.135.223 with SMTP id u73mr9920341wei.117.1334690899768; Tue, 17 Apr 2012 12:28:19 -0700 (PDT) Received: by 10.223.54.207 with HTTP; Tue, 17 Apr 2012 12:28:19 -0700 (PDT) In-Reply-To: <4F8D3CB8.5090907@FreeBSD.org> References: <4F520523.90406@zedat.fu-berlin.de> <4F52286E.4030608@FreeBSD.org> <4F523C1A.4060008@zedat.fu-berlin.de> <4F8BBFF3.50205@FreeBSD.org> <20120416230857.GA26957@mech-cluster241.men.bris.ac.uk> <4F8D3565.2020803@FreeBSD.org> <20120417093652.GA29091@mech-cluster241.men.bris.ac.uk> <4F8D3CB8.5090907@FreeBSD.org> Date: Tue, 17 Apr 2012 12:28:19 -0700 Message-ID: From: Kevin Oberman To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Chris Rees , Chris , Current FreeBSD , "O. Hartmann" , Doug Barton Subject: Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 19:28:21 -0000 On Tue, Apr 17, 2012 at 2:49 AM, Dimitry Andric 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. =A0This 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. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com