From owner-cvs-ports@FreeBSD.ORG Wed Dec 1 02:32:50 2010 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD731065674; Wed, 1 Dec 2010 02:32:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 009188FC13; Wed, 1 Dec 2010 02:32:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oB12Wnnq053884; Wed, 1 Dec 2010 02:32:49 GMT (envelope-from linimon@repoman.freebsd.org) Received: (from linimon@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oB12WnIi053883; Wed, 1 Dec 2010 02:32:49 GMT (envelope-from linimon) Message-Id: <201012010232.oB12WnIi053883@repoman.freebsd.org> From: Mark Linimon Date: Wed, 1 Dec 2010 02:32:49 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/Tools/portbuild/scripts buildenv X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 02:32:50 -0000 linimon 2010-12-01 02:32:49 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts buildenv Log: Canonicalize the use of SRC_BASE to fix INDEX and duds builds on head nodes that don't have /usr/src. On pointyhat, this "just happens to work"; on a cleanly installed system like pointyhat-west, it didn't. Add overrides for Linux compatibility (again, it "just happened to work" on pointyhat). Move the code that sets PORTSDIR and SRC_BASE to the server side only. The code that overrides OSVERSION, OSREL, and BRANCH _must_ remain in the common code. Revision Changes Path 1.35 +39 -25 ports/Tools/portbuild/scripts/buildenv