Beech Rintoul wrote:
> I'm the port maintainer for ftp/proftpd. I'm struggling with getting an 
> upgrade out. The problem I'm having is they added a new option which requires 
> libiconv. Autoconf looks for iconv.h, can't find it in /usr/local/include and 
> the build errors out when it can't link. I googled the problem and found that 
> autoconf by default doesn't look in usr/local/include even if it's in the 
> path. So, my question is what to put in the makefile or what to patch in the 
> sources to make autoconf pick up that header? Any help would be appreciated.

Maybe

./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

or

env CPPFLAGS="-I/usr/local/include" \
        LDFLAGS="-L/usr/local/lib" ./configure




-- 
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:[EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to