From owner-cvs-src@FreeBSD.ORG Wed Aug 11 11:02:27 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C3016A4CE; Wed, 11 Aug 2004 11:02:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 275E543D49; Wed, 11 Aug 2004 11:02:27 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7BB2Rnh063530; Wed, 11 Aug 2004 11:02:27 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7BB2QOm063529; Wed, 11 Aug 2004 11:02:26 GMT (envelope-from ru) Message-Id: <200408111102.i7BB2QOm063529@repoman.freebsd.org> From: Ruslan Ermilov Date: Wed, 11 Aug 2004 11:02:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 11:02:27 -0000 ru 2004-08-11 11:02:26 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: Enforce the check that MAKEOBJDIRPREFIX (if set) is set in environment only, and not as a global (in /etc/make.conf) or command-line variable. MAKEOBJDIRPREFIX has never been a global or command-line variable, and the fact that it works in some scenarios for "make buildworld" doesn't make it any more correct. Using it as a global or command-line variable is error prone, discouraged, costs us lot of false build reports, etc. This commit is aimed to fix it once and for all. Anyone potentially objecting to this change is encouraged to read the make(1) and make.conf(5) manpages, and the comments regarding the use of the MAKEOBJDIRPREFIX variable in /usr/share/mk/bsd.obj.mk and /usr/share/examples/etc/make.conf. Revision Changes Path 1.436 +7 -0 src/Makefile.inc1