Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 23:13:06 -0700
From:      Wes Peters <wes@softweyr.com>
To:        "M. Warner Losh" <imp@village.org>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: Why don't we search /usr/local/lib and /usr/local/include bydefault?
Message-ID:  <3CF5C2F2.60C199F3@softweyr.com>
References:  <20020528.221453.83474290.imp@village.org> <20020529140813.P82424@wantadilla.lemis.com> <20020529125401.C2156@dragon.nuxi.com> <20020529.151844.49472446.imp@village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" wrote:
> 
> In message: <20020529125401.C2156@dragon.nuxi.com>
>             "David O'Brien" <dev-null@NUXI.com> 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" <grog@FreeBSD.ORG> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF5C2F2.60C199F3>