From owner-freebsd-ports@FreeBSD.ORG Tue Mar 7 16:26:44 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3882C16A429 for ; Tue, 7 Mar 2006 16:26:44 +0000 (GMT) (envelope-from ml@sd2i.com) Received: from www2.sd2i.net (www2.sd2i.net [81.80.186.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B533A43D64 for ; Tue, 7 Mar 2006 16:26:40 +0000 (GMT) (envelope-from ml@sd2i.com) Received: from [192.168.1.11] (ADijon-153-1-10-229.w83-196.abo.wanadoo.fr [83.196.225.229]) by www2.sd2i.net (Postfix) with ESMTP id 9B2343F956 for ; Tue, 7 Mar 2006 17:26:38 +0100 (CET) Message-ID: <440DB43C.9090900@sd2i.com> Date: Tue, 07 Mar 2006 17:26:36 +0100 From: "ml@sd2i.com" User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <440D4669.4030005@sd2i.com> <20060307094141.GA2142@pentarou.parodius.com> <440D84CC.3090009@sd2i.com> In-Reply-To: <440D84CC.3090009@sd2i.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: wzdftpd compile error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 16:26:44 -0000 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.