From owner-freebsd-arch Tue May 28 12:18:54 2002 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id C704837B403; Tue, 28 May 2002 12:18:47 -0700 (PDT) Received: from pool0281.cvx40-bradley.dialup.earthlink.net ([216.244.43.26] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17CmUY-0002Ad-00; Tue, 28 May 2002 12:18:47 -0700 Message-ID: <3CF3D7F7.20A30ACF@mindspring.com> Date: Tue, 28 May 2002 12:18:15 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-arch@FreeBSD.org Cc: Greg 'groggy' Lehey Subject: Re: Why don't we search /usr/local/lib and /usr/local/include by default? References: <20020528143444.R16567@wantadilla.lemis.com> <20020528084248.B59588@dragon.nuxi.com> 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 David O'Brien wrote: > On Tue, May 28, 2002 at 02:34:44PM +0930, Greg 'groggy' Lehey wrote: > > I've just had a question from some friends in the Linux space about > > why we install additional libraries in /usr/local/lib and their header > > files in /usr/local/include, but gcc by default only searches > > /usr/local/libexec and /usr/local/lib for libraries and /usr/include > > The system GCC searching any part of /usr/local is a bug. It is not > [ports] PREFIX clean. (you have typos above about /usr/local/libexec > don't you?) Potentialy, the ports .mk files, when they observe PREFIX, should reset the entire include and library path, so this really should not be an issue. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message