看板 FB_doc 關於我們 聯絡資訊
>Number: 122578 >Category: docs >Synopsis: Use of DESTDIR in portstree is deprecated, remove reference in Porters Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 16:10:00 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"