Date: Tue, 28 May 2002 09:59:38 -0400 From: Antoine Beaupre <anarcat@anarcat.ath.cx> To: Terry Lambert <tlambert2@mindspring.com> Cc: "Greg 'groggy' Lehey" <grog@FreeBSD.org>, FreeBSD-arch@FreeBSD.org Subject: Re: Why don't we search /usr/local/lib and /usr/local/include by default? Message-ID: <26911A2E-7243-11D6-93A2-0050E4A0BB3F@anarcat.ath.cx> In-Reply-To: <3CF3128C.F686A139@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26911A2E-7243-11D6-93A2-0050E4A0BB3F>