Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2006 17:26:36 +0100
From:      "ml@sd2i.com" <ml@sd2i.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: wzdftpd compile error
Message-ID:  <440DB43C.9090900@sd2i.com>
In-Reply-To: <440D84CC.3090009@sd2i.com>
References:  <440D4669.4030005@sd2i.com>	<20060307094141.GA2142@pentarou.parodius.com> <440D84CC.3090009@sd2i.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ml@sd2i.com a écrit :
> Jeremy Chadwick a écrit :
>> On Tue, Mar 07, 2006 at 09:38:01AM +0100, ml@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.




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