From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 07:00:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 099C81065696 for ; Fri, 1 Jun 2012 07:00:26 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7AD8FC19 for ; Fri, 1 Jun 2012 07:00:25 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SaLqS-0003Ap-7u; Fri, 01 Jun 2012 08:00:24 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SaLqR-00055i-Oa; Fri, 01 Jun 2012 08:00:23 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q5170N48098206; Fri, 1 Jun 2012 08:00:23 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q5170Ntt098205; Fri, 1 Jun 2012 08:00:23 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 1 Jun 2012 08:00:23 +0100 From: Anton Shterenlikht To: "Thomas D. Dean" Message-ID: <20120601070023.GA98123@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: "Thomas D. Dean" , freebsd-questions@freebsd.org References: <4FC82537.2090305@speakeasy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FC82537.2090305@speakeasy.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: MK_CLANG_IS_CC mis-formed when compiling ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 07:00:26 -0000 On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote: > I built FrfeeBSD 9 with > WITHOUT_CLANG="Yes" > > When I try to build the net/bwn-firmware-kmod/ > > I get an error that MK_CLANG_IS_CC is mis-formed. > > If I define this in make.conf, I get an error that the user may not set > this. > > If I use 'make MK_CLANG_IS_CC="no"' the port compiles. > > How do I fix this? Why did you define WITHOUT_CLANG? On 10.0-current amd64 I build the world/kernel with no clang-related options: GEN8> cat /etc/make.conf SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 PERL_VERSION=5.14.2 WITH_PKGNG=yes #CC=clang #CXX=clang++ #CPP=clang-cpp GEN8> I have no problems when building bwn-firmware-kmod. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423