Re: port的問題
==> ERICJ.bbs@ysmis.twbbs.org (要大三了..) 提到:
: ※ 引述《newsubmarine.bbs@bbs.mgt.ncu.edu.tw (#################)》之銘言:
: > 請問我要在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
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 5 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章