From 87f6c3cd863dece52df65252918af8cd5ffba200 Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Fri, 14 Mar 2003 14:15:00 +0000 Subject: [PATCH] Tell the reader that different mtree BSD.x.dist files are needed for automatic creation of package lists depending on whether you install into an X11 hierarchy. PR: docs/47824 --- en_US.ISO8859-1/books/porters-handbook/book.sgml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 94d83f88c6..d0a582d626 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -6242,10 +6242,14 @@ pre-install: pkg-plist missing. Next, create a temporary directory tree into which your port can be - installed, and install any dependencies. + installed, and install any dependencies. + port-type should be local + for non-X ports and x11-4 or x11 + for ports which install into the directory hierarchy of XFree86 4 + or an earlier XFree86 release, respectively. &prompt.root; mkdir /var/tmp/port-name -&prompt.root; mtree -U -f /etc/mtree/BSD.local.dist -d -e -p /var/tmp/port-name +&prompt.root; mtree -U -f /etc/mtree/BSD.port-type.dist -d -e -p /var/tmp/port-name &prompt.root; make depends PREFIX=/var/tmp/port-name Store the directory structure in a new file.