From tabthorpe@FreeBSD.org Tue Apr 8 16:01:54 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F17106566C; Tue, 8 Apr 2008 16:01:54 +0000 (UTC) (envelope-from tabthorpe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 576B98FC17; Tue, 8 Apr 2008 16:01:54 +0000 (UTC) (envelope-from tabthorpe@FreeBSD.org) Received: from freefall.freebsd.org (tabthorpe@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m38G1s9L014593; Tue, 8 Apr 2008 16:01:54 GMT (envelope-from tabthorpe@freefall.freebsd.org) Received: (from tabthorpe@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m38G1sHw014592; Tue, 8 Apr 2008 16:01:54 GMT (envelope-from tabthorpe) Message-Id: <200804081601.m38G1sHw014592@freefall.freebsd.org> Date: Tue, 8 Apr 2008 16:01:54 GMT From: Thomas Abthorpe Reply-To: Thomas Abthorpe To: FreeBSD-gnats-submit@FreeBSD.org Cc: miwi@FreeBSD.org, tabthorpe@FreeBSD.org Subject: Use of DESTDIR in portstree is deprecated, remove reference in Porters Handbook X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 122578 >Category: docs >Synopsis: [patch] Use of DESTDIR in portstree is deprecated, remove reference in Porters Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: miwi >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 16:10:00 UTC 2008 >Closed-Date: Sat Apr 19 20:06:45 UTC 2008 >Last-Modified: Sat Apr 19 20:06:45 UTC 2008 >Originator: Thomas Abthorpe >Release: FreeBSD 7.0-STABLE i386 >Organization: FreeBSD.GoodKing.Ca >Environment: System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #33: Fri Feb 29 00:53:41 UTC 2008 simon@freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386 >Description: - Remove section refering to DESTDIR in portstree >How-To-Repeat: >Fix: --- ph-book.patch begins here --- Index: book.sgml =================================================================== RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.914 diff -u -r1.914 book.sgml --- book.sgml 6 Apr 2008 21:48:28 -0000 1.914 +++ book.sgml 8 Apr 2008 15:47:04 -0000 @@ -8893,24 +8893,13 @@ - <makevar>PREFIX</makevar> and <makevar>DESTDIR</makevar> + <makevar>PREFIX</makevar> PREFIX determines the location where the port will install. It is usually /usr/local, or /opt. User can set PREFIX to anything he wants. Your port must respect this variable. - DESTDIR, if set by user, determines the - complete alternative environment, usually a jail, or an installed - system mounted elsewhere than /. - A port will actually install into - DESTDIR/PREFIX, and register - with the package database in DESTDIR/var/db/pkg. - As DESTDIR is handled automatically by the - ports infrastructure via calling &man.chroot.8;, you do not - need any modifications or any extra care to write - DESTDIR-compliant ports. - The value of PREFIX will be set to LOCALBASE (default /usr/local). If --- ph-book.patch ends here --- >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-doc->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Tue Apr 8 16:16:03 UTC 2008 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=122578 State-Changed-From-To: open->closed State-Changed-By: miwi State-Changed-When: Sat Apr 19 20:06:45 UTC 2008 State-Changed-Why: close after discussion. http://www.freebsd.org/cgi/query-pr.cgi?pr=122578 >Unformatted: