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
_______________________________________________
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