databases/mysql50-server switches compiler during build

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Tue Jun 6 02:03:58 PDT 2006


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...


More information about the freebsd-ports mailing list