From tabthorpe@FreeBSD.org  Tue Apr  8 16:01:54 2008
Return-Path: <tabthorpe@FreeBSD.org>
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 <tabthorpe@FreeBSD.org>
Reply-To: Thomas Abthorpe <tabthorpe@FreeBSD.org>
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 @@
       </sect1>
 
       <sect1 id="porting-prefix">
-	<title><makevar>PREFIX</makevar> and <makevar>DESTDIR</makevar></title>
+	<title><makevar>PREFIX</makevar></title>
 
 	<para><makevar>PREFIX</makevar> determines the location where
 	  the port will install.  It is usually <filename>/usr/local</filename>,
 	  or <filename>/opt</filename>.  User can set <makevar>PREFIX</makevar>
 	  to anything he wants.  Your port must respect this variable.</para>
 
-	<para><makevar>DESTDIR</makevar>, if set by user, determines the
-	  complete alternative environment, usually a jail, or an installed
-	  system mounted elsewhere than <filename>/</filename>.
-	  A port will actually install into
-	  <makevar>DESTDIR</makevar>/<makevar>PREFIX</makevar>, and register
-	  with the package database in <makevar>DESTDIR</makevar>/var/db/pkg.
-	  As <makevar>DESTDIR</makevar> is handled automatically by the
-	  ports infrastructure via calling &man.chroot.8;, you do not
-	  need any modifications or any extra care to write
-	  <makevar>DESTDIR</makevar>-compliant ports.</para>
-
 	<para>The value of <makevar>PREFIX</makevar> will be set
 	  to <makevar>LOCALBASE</makevar> (default
 	  <filename>/usr/local</filename>).  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:
