From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 16 07:50:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08BFA16A47C for ; Sat, 16 Dec 2006 07:50:39 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id B882C43CA1 for ; Sat, 16 Dec 2006 07:50:36 +0000 (GMT) (envelope-from freebsd@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 7E7534601; Fri, 15 Dec 2006 22:50:35 -0900 (AKST) From: Beech Rintoul Organization: Alaska Paradise Travel To: freebsd-hackers@freebsd.org User-Agent: KMail/1.9.4 References: <200612151716.32713.freebsd@alaskaparadise.com> <20061216031432.GA17978@ace.b020.ceid.upatras.gr> In-Reply-To: <20061216031432.GA17978@ace.b020.ceid.upatras.gr> MIME-Version: 1.0 Date: Fri, 15 Dec 2006 22:50:14 -0900 Content-Type: multipart/signed; boundary="nextPart10603851.P74RXg2Mqq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612152250.32896.freebsd@alaskaparadise.com> Cc: Nikos Ntarmos Subject: Re: Configure error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 07:50:39 -0000 --nextPart10603851.P74RXg2Mqq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 15 December 2006 18:14, Nikos Ntarmos wrote: > 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=3D aclocal:19 automake:19 autoheader:259 autoconf:259 > LDFLAGS+=3D -L${LOCALBASE}/lib > CFLAGS+=3D -I${LOCALBASE}/include > CONFIGURE_ENV=3D CFLAGS=3D"${CFLAGS}" LDFLAGS=3D"${LDFLAGS}" > > pre-configure: > @(cd ${CONFIGURE_WRKSRC} && \ > ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL}) > > in the Makefile did the trick for me. This is without GNU_CONFIGURE=3Dyes. Thanks, that's more than I needed but it did point me in the right directio= n.=20 I just needed to add the paths inside the option: =2Eif !defined(WITHOUT_WRAP) MODULES:=3D${MODULES}:mod_wrap2 INCLUDEDIRS:=3D${INCLUDEDIRS}:${WORKDIR}/include LIBDIRS:=3D${LIBDIRS}:${LOCALBASE}/lib =2Eendif Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart10603851.P74RXg2Mqq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFg6VIR5sEeCt9j00RAme7AJ4wvNRPUqNtS3nAxtElb7nsqVqjxwCdG8IL 5rSUle0SOdHcfkgI4EMaGew= =SN40 -----END PGP SIGNATURE----- --nextPart10603851.P74RXg2Mqq--