databases/mysql50-server switches compiler during build

Björn König bkoenig at cs.tu-berlin.de
Tue Jun 6 07:25:47 PDT 2006


[LoN]Kamikaze schrieb:

> 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.
>>
>>Did you set CC and CXX in /etc/make.conf?
> 
> 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 suppose that's the problem somehow. I would try to build it with an 
empty make.conf temporarily.

Björn


More information about the freebsd-ports mailing list