Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2006 10:55:28 +0200
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        =?UTF-8?B?QmrDtnJuIEvDtm5pZw==?= <bkoenig@cs.tu-berlin.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: databases/mysql50-server switches compiler during build
Message-ID:  <44854300.2070903@gmx.de>
In-Reply-To: <448522E0.6010305@cs.tu-berlin.de>
References:  <4484B0B5.8070703@gmx.de> <448522E0.6010305@cs.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Björn König wrote:
> [LoN]Kamikaze schrieb:
>> The mysql50-server port suddenly switches the compiler while building.
>> I've got no idea what might cause this and how to solve it apart from
>> deinstalling gcc41 - which would break everything built with it.
>>
>> This is the end of the output.
>> ...
> 
> Did you set CC and CXX in /etc/make.conf?
> 
> Björn
> 
> 

Yes, but I'm safeguarding against ports that read /etc/make.conf from other files than category/port/Makefile by enclosing everything there with:

.if ${.CURDIR:M*/ports/*} && !${.CURDIR:M*/work/*}
.endif

I hope there will never be a category named work...



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