Date: Sat, 16 Dec 2006 05:14:32 +0200 From: Nikos Ntarmos <ntarmos@ceid.upatras.gr> To: freebsd-hackers@freebsd.org Subject: Re: Configure error Message-ID: <20061216031432.GA17978@ace.b020.ceid.upatras.gr> In-Reply-To: <200612151716.32713.freebsd@alaskaparadise.com> References: <200612151716.32713.freebsd@alaskaparadise.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there. On Fri, Dec 15, 2006 at 05:16:12PM -0900, Beech Rintoul wrote: > 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? I was just bitten by the same problem while trying to make a new port. Adding: USE_AUTOTOOLS= aclocal:19 automake:19 autoheader:259 autoconf:259 LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" pre-configure: @(cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL}) in the Makefile did the trick for me. This is without GNU_CONFIGURE=yes. Cheers. \n\n
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061216031432.GA17978>