FreeBSD Porter's Handbook
前一頁 | 章 12. Dos and Don'ts | 下一頁

# 12.2. `WRKDIR`

Do not write anything to files outside `WRKDIR`. `WRKDIR` is the only place that is guaranteed to be writable during the port build (see installing ports from a CDROM for an example of building ports from a read-only tree). If you need to modify one of the `pkg-`*`` files, do so by redefining a variable, not by writing over it.

前一頁 | 內容 | 下一頁
Dos and Don'ts | 上一層 | `WRKDIRPREFIX`

For questions about the FreeBSD ports system, e-mail <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.