看板FreeBSD
標 題Re: port的問題
發信站中大資管龍貓資訊天地 (Tue May 25 12:04:01 2004)
轉信站ptt!ctu-reader!ctu-peer!news.nctu!news.iem.NCTU!CteNewsService!AT-News
==> [email protected] (要大三了..) 提到:
: ※ 引述《[email protected] (#################)》之銘言:
: > 請問我要在port下抓source檔回來放在/usr/ports/distfile下,
: > 只是要抓檔案回來而已,不作安裝,
: > 那我要怎麼做呢?
: > 謝謝~~
: man ports
: fetch Fetch all of the files needed to build this port from the
: sites listed in MASTER_SITES and PATCH_SITES. See FETCH_CMD
: and MASTER_SITE_OVERRIDE.
: 我猜是make fetch?
我想問另外一個問題:
我在man ports時,
看到:
…(略)
ENVIRONMENT
You can change all of these.
PORTSDIR Location of the ports tree. This is /usr/ports on FreeBSD
and OpenBSD, and /usr/pkgsrc on NetBSD.
WRKDIRPREFIX Where to create any temporary files. Useful if PORTSDIR is
read-only (perhaps mounted from a CD-ROM).
…(略)
之類的東西,這裡提到的PORTSDIR這種環境變數,
我要從哪裡知道他的值呢?
我試著用:
echo $PORTSDIR
系統反應是:
undefined variable,
--
◎
龍貓資訊天地(
bbs.mgt.ncu.edu.tw)
◎[
newsubmarine]From: 228161.D18-228.ncu.edu.tw