如果該 port 需要使用者作出選擇才能安裝的話,
則必須在 Makefile
加上
IS_INTERACTIVE
變數。 如此一來若使用者有設定
BATCH
環境變數的話,就會略過該 port 而繼續
“overnight builds”(若使用者把該環境變數值設為
BATCH
的話,那麼 只有
那些需要與使用者互動的 port 才會編譯。)。
這使得那些需要不停編譯 port 的機器會省下許多時間(後面會說明這點)
。
此外建議,若是這些互動問題有合適的預設選項的話,
那應確認一下 PACKAGE_BUILDING
變數該如何設,
才能配合該變數而決定是否停止互動。 如此一來才可以自動編譯出
CDROM 與 FTP 上的套件。
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.