看板 FreeBSD 關於我們 聯絡資訊
==> 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