From owner-freebsd-doc Sun Feb 2 14:10:18 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5697E37B401 for ; Sun, 2 Feb 2003 14:10:16 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6FB43F85 for ; Sun, 2 Feb 2003 14:10:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h12MAENS004692 for ; Sun, 2 Feb 2003 14:10:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h12MAEAn004691; Sun, 2 Feb 2003 14:10:14 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC2B437B401 for ; Sun, 2 Feb 2003 14:09:15 -0800 (PST) Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D4C743FB1 for ; Sun, 2 Feb 2003 14:09:10 -0800 (PST) (envelope-from dmagda@magda.ca) Received: from number6.magda.ca ([64.229.179.43]) by tomts14-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030202220909.JRYT23890.tomts14-srv.bellnexxia.net@number6.magda.ca> for ; Sun, 2 Feb 2003 17:09:09 -0500 Received: from number6.magda.ca (localhost.magda.ca [127.0.0.1]) by number6.magda.ca (8.12.6/8.12.6) with ESMTP id h12M99xb044738 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 2 Feb 2003 17:09:09 -0500 (EST) (envelope-from dmagda@magda.ca) Received: (from dmagda@localhost) by number6.magda.ca (8.12.6/8.12.6/Submit) id h12M99YI044737; Sun, 2 Feb 2003 17:09:09 -0500 (EST) (envelope-from dmagda) Message-Id: <200302022209.h12M99YI044737@number6.magda.ca> Date: Sun, 2 Feb 2003 17:09:09 -0500 (EST) From: David Magda Reply-To: David Magda To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/47824: auto-create plist chapter should mention X11 mtree file Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47824 >Category: docs >Synopsis: auto-create plist chapter should mention X11 mtree file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 02 14:10:14 PST 2003 >Closed-Date: >Last-Modified: >Originator: David Magda >Release: FreeBSD 4.7-STABLE i386 >Organization: We're orgainized? >Environment: System: FreeBSD number6.magda.ca 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Dec 27 10:36:12 EST 2002 dave@number6.magda.ca:/usr/obj/usr/src/sys/MYKERNELE i386 >Description: In the Porter's Handbook, Chapter 17 (Automated package list creation) it mentions: [...] Next, create a new set of directories which your port can be installed, and install any dependencies. # mkdir /var/tmp/port-name # mtree -U -f /etc/mtree/BSD.local.dist -d -e -p /var/tmp/port-name # make depends PREFIX=/var/tmp/port-name [...] The mtree(8) line can be misleading. It should be mentioned that BSD.x11(-4).dist should be used instead of BSD.local.dist if you have an X11 application that is being installed -- especially if USE_X_PREFIX is defined (or anything with GNOME or KDE as well). >How-To-Repeat: lynx http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-autoplist.html >Fix: Add a line describing that BSD.x11(-4).dist should be used if you have an X11 application. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message