From owner-freebsd-arch Tue May 28 22:37:55 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E077937B409; Tue, 28 May 2002 22:37:47 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g4T5bkY27898; Tue, 28 May 2002 23:37:46 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g4T5bdG34288; Tue, 28 May 2002 23:37:39 -0600 (MDT) (envelope-from imp@village.org) Date: Tue, 28 May 2002 23:37:29 -0600 (MDT) Message-Id: <20020528.233729.115542684.imp@village.org> To: grog@FreeBSD.org Cc: peter@wemm.org, freebsd-arch@FreeBSD.org Subject: Re: Why don't we search /usr/local/lib and /usr/local/include by default? From: "M. Warner Losh" In-Reply-To: <20020529140813.P82424@wantadilla.lemis.com> References: <20020529122327.C82424@wantadilla.lemis.com> <20020528.221453.83474290.imp@village.org> <20020529140813.P82424@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 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 In message: <20020529140813.P82424@wantadilla.lemis.com> "Greg 'groggy' Lehey" writes: : > We shouldn't search it because that may break other things. : : What? It increases the default security domain from /usr/include and /usr/lib to also include /usr/local/lib and /usr/local/include silently. Right now users must explicitly declare that they want to link against this less secure domain by adding -I/usr/local/include and -L/usr/lcoal/include to the build process. Maybe this isn't a show stopper, but it is the sort of thing that needs to be considered before we put a change like this into the tree. I think that it is a sufficient reason to block the addition. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message