From owner-freebsd-arch Tue May 28 21:38:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id AA83237B400 for ; Tue, 28 May 2002 21:38:16 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A8F0F81430; Wed, 29 May 2002 14:08:13 +0930 (CST) Date: Wed, 29 May 2002 14:08:13 +0930 From: Greg 'groggy' Lehey To: "M. Warner Losh" Cc: peter@wemm.org, freebsd-arch@FreeBSD.ORG Subject: Re: Why don't we search /usr/local/lib and /usr/local/include by default? Message-ID: <20020529140813.P82424@wantadilla.lemis.com> References: <20020529093009.C31668@wantadilla.lemis.com> <20020529012544.14816380A@overcee.wemm.org> <20020529122327.C82424@wantadilla.lemis.com> <20020528.221453.83474290.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020528.221453.83474290.imp@village.org> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 On Tuesday, 28 May 2002 at 22:14:53 -0600, Warner Losh wrote: > In message: <20020529122327.C82424@wantadilla.lemis.com> > "Greg 'groggy' Lehey" writes: >> I'm complaining about the implementation. Since the Ports Collection >> installs by default in /usr/local, it seems reasonable to at least put >> these directories at the end of the search paths for header files and >> libraries. > > It is working as designed. /usr/local/* isn't searched by default, > and never have been in BSD. "We do it this way because our grandfathers did it this way"? > Just because Linux is lame I think that's a rather blanked statement. > doesn't mean that we should be too. No, but I can see (and have presented) good reasons. > We shouldn't search /usr/local by default because PREFIX can be set > to anything. It doesn't do any harm even in that case. > We shouldn't search it because that may break other things. What? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message