| Summary: | auto-create plist chapter should mention X11 mtree file | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | David Magda <dmagda+fbugs> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Originator reports that the problem is corrected. |
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). Fix: Add a line describing that BSD.x11(-4).dist should be used if you have an X11 application. How-To-Repeat: lynx http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-autoplist.html