From owner-freebsd-arch Tue May 28 7: 7:49 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail1.qc.uunet.ca (mail1.qc.uunet.ca [198.168.54.16]) by hub.freebsd.org (Postfix) with ESMTP id A9F3637B403; Tue, 28 May 2002 07:07:45 -0700 (PDT) Received: from Xtanbul ([216.94.147.34]) by mail1.qc.uunet.ca (8.10.2/8.10.2) with ESMTP id g4SE7dN23618; Tue, 28 May 2002 10:07:40 -0400 Date: Tue, 28 May 2002 09:59:38 -0400 Subject: Re: Why don't we search /usr/local/lib and /usr/local/include by default? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: "Greg 'groggy' Lehey" , FreeBSD-arch@FreeBSD.org To: Terry Lambert From: Antoine Beaupre In-Reply-To: <3CF3128C.F686A139@mindspring.com> Message-Id: <26911A2E-7243-11D6-93A2-0050E4A0BB3F@anarcat.ath.cx> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We could still make the ports system try to use libraries in=20 /usr/local/lib too by default since most third party apps have=20 dependencies on other third-party apps. The way I usually do it is: CONFIGURE_ENV+=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ LDFLAGS=3D"-L${LOCALBASE}/lib" \ CFLAGS=3D"-I${LOCALBASE}/include ${CFLAGS}" \ CXXFLAGS=3D"-I${LOCALBASE}/include ${CXXFLAGS}" or something like that. I think a lot of ports have something like that=20= in there somewhere. A. Le mardi 28 mai 2002, =E0 01:15 AM, Terry Lambert a =E9crit : > Terry Lambert wrote: >> Or in shorter terms: "Doing that doesn't actually work". > > Ignore everything but this part; I thought it was a -chat posting. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message