databases/mysql50-server switches compiler during build
[LoN]Kamikaze
LoN_Kamikaze at gmx.de
Tue Jun 6 07:40:19 PDT 2006
Björn König wrote:
> [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
No I included a .warning to confirm that the /etc/make.conf is not read again. The error must be somewhere else, as unlikely as it seems.
More information about the freebsd-ports
mailing list