wzdftpd compile error

ml at sd2i.com ml at sd2i.com
Tue Mar 7 16:26:44 UTC 2006


ml at sd2i.com a écrit :
> Jeremy Chadwick a écrit :
>> On Tue, Mar 07, 2006 at 09:38:01AM +0100, ml at sd2i.com wrote:
>>
>> Looks like -liconv is missing from the gcc flags (which are passed
>> to ld).
>>
> 
> Do you know if there's a way to add it from portinstall (-m arg ?) or do 
> i need to alter the sources after a make patch ?
> 
> By the way thanks for the tip.

Ok after google'ing a bit and some searches in the porter's handbook i 
found a way to go, by adding the following in the port's Makefile :

CFLAGS+=        -liconv

I'm quite sure this is not the best way, but it works... I would 
appreciate any comment on that.

Regards,
David.



More information about the freebsd-ports mailing list