Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2012 08:00:23 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        "Thomas D. Dean" <tomdean@speakeasy.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MK_CLANG_IS_CC mis-formed when compiling ports
Message-ID:  <20120601070023.GA98123@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4FC82537.2090305@speakeasy.org>
References:  <4FC82537.2090305@speakeasy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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