From owner-freebsd-arch Wed May 29 23:12:57 2002 Delivered-To: freebsd-arch@freebsd.org Received: from softweyr.com (softweyr.com [65.88.244.127]) by hub.freebsd.org (Postfix) with ESMTP id AC6CF37B400 for ; Wed, 29 May 2002 23:12:48 -0700 (PDT) Received: from 66-75-153-50.san.rr.com ([66.75.153.50] helo=softweyr.com) by softweyr.com with esmtp (Exim 3.35 #1) id 17DJAd-0004Mv-00; Thu, 30 May 2002 00:12:23 -0600 Message-ID: <3CF5C2F2.60C199F3@softweyr.com> Date: Wed, 29 May 2002 23:13:06 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" Cc: freebsd-arch@FreeBSD.org Subject: Re: Why don't we search /usr/local/lib and /usr/local/include bydefault? References: <20020528.221453.83474290.imp@village.org> <20020529140813.P82424@wantadilla.lemis.com> <20020529125401.C2156@dragon.nuxi.com> <20020529.151844.49472446.imp@village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 "M. Warner Losh" wrote: > > In message: <20020529125401.C2156@dragon.nuxi.com> > "David O'Brien" writes: > : On Wed, May 29, 2002 at 02:08:13PM +0930, Greg 'groggy' Lehey wrote: > : > 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"? > : > : I speak English because my grandfather did. A good enough reason for me. > > Also, "If everybody were jumping off of cliffs, would you do it too?" > > Add /usr/local/* by default is just a really dumb idea. Well-behaved packages ldconfig {PREFIX}/lib and/or {PREFIX}/libexec on installation, which is acceptable for users. Poorly behaved packages should be corrected rather than dorking up the system to accomodate them. As far as -L and -I arguments to cc, programmers should be able to figger out which libraries they want. This pretty much falls in the category of "works as intended" doesn't it? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message