From owner-freebsd-doc@FreeBSD.ORG Tue Sep 4 11:30:03 2007 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 370A116A418 for ; Tue, 4 Sep 2007 11:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F0A5813C428 for ; Tue, 4 Sep 2007 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l84BU2Xt070975 for ; Tue, 4 Sep 2007 11:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l84BU2JV070960; Tue, 4 Sep 2007 11:30:02 GMT (envelope-from gnats) Resent-Date: Tue, 4 Sep 2007 11:30:02 GMT Resent-Message-Id: <200709041130.l84BU2JV070960@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Markus Hitter Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057AB16A421 for ; Tue, 4 Sep 2007 11:26:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E7D9713C46A for ; Tue, 4 Sep 2007 11:26:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l84BQS7m037243 for ; Tue, 4 Sep 2007 11:26:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l84BQSdC037242; Tue, 4 Sep 2007 11:26:28 GMT (envelope-from nobody) Message-Id: <200709041126.l84BQSdC037242@www.freebsd.org> Date: Tue, 4 Sep 2007 11:26:28 GMT From: Markus Hitter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/116080: PREFIX is documented, but not the more important LOCALBASE X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 11:30:03 -0000 >Number: 116080 >Category: docs >Synopsis: PREFIX is documented, but not the more important LOCALBASE >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 04 11:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Markus Hitter >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD testBSD.jump-ing.de 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The Ports system features the PREFIX variable to let one install a port into a different location than /usr/local. /usr/ports/Mk/bsd.port.mk says: # PREFIX - Where *this* port installs its files. The handbook documents this feature: (Section 4.5.2.1) Missing in this section is, PREFIX isn't inheriting (or shouldn't inherit, see PR #116078) to dependencies. Using PREFIX, dependencies are put into the default location. If one wants all build results in a different directory - which is the case in many scenarios, one has to build with LOCALBASE instead: make LOCALBASE=/usr install N.B.: Currently, using PREFIX fails if dependencies are needed: PR #116078 >How-To-Repeat: n.a. >Fix: >Release-Note: >Audit-Trail: >Unformatted: