From owner-freebsd-newbies@FreeBSD.ORG Sat Feb 12 21:17:20 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D575216A4CE for ; Sat, 12 Feb 2005 21:17:20 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C12343D48 for ; Sat, 12 Feb 2005 21:17:20 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 12 Feb 2005 15:17:17 -0600 Message-ID: <420E725D.60304@daleco.biz> Date: Sat, 12 Feb 2005 15:17:17 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?6ICXIOWtkA==?= References: <3d92e23305021104571acce3b7@mail.gmail.com> <1225949715.20050211142137@hexren.net> <420CF1B1.7070906@daleco.biz> <3d92e23305021117566e43b0b4@mail.gmail.com> In-Reply-To: <3d92e23305021117566e43b0b4@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 12 Feb 2005 21:17:18.0343 (UTC) FILETIME=[3B7F1970:01C51148] cc: freebsd-newbies@freebsd.org Subject: Re: How to install ports from CD-ROM X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 21:17:20 -0000 耗 子 wrote: >Maybe you were misunderstanding me because of my bad english.:( >I did not mean that I would not download source codes from Internet, >but download it from another site. Take installing vim for example, >after I type "make install" in /usr/ports/editors/vim, Freebsd will >try to download files from ftp://ftp.freebsd.org. However, I want to >let it download from ftp://ftp1.freebsd.org. How to make it ? >Thank you. > > Ah. Maybe now I get it! ;-) Sites for each port are listed in /usr/ports/Mk/bsd.sites.mk, and I think you *could* change it there. But I believe that the best method is setting MASTER_SITE_OVERRIDE in your environment or in /etc/make.conf. e.g, in tcsh: #setenv MASTER_SITE_OVERRIDE ftp1.freebsd.org #cd /usr/ports/editors/vim #make install clean If I remember correctly, in sh/bash it would be: $MASTER_SITE_OVERRIDE=ftp1.freebsd.org $export MASTER_SITE_OVERRIDE $cd /usr/ports/editors/vim $make install clean Hope this Helps! Kevin Kinsey