看板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