From owner-freebsd-questions Thu Nov 15 16:22: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from monorchid.lemis.com (monorchid.lemis.com [192.109.197.75]) by hub.freebsd.org (Postfix) with ESMTP id 54EDC37B418 for ; Thu, 15 Nov 2001 16:21:57 -0800 (PST) Received: by monorchid.lemis.com (Postfix, from userid 1004) id 81639786E6; Fri, 16 Nov 2001 10:51:55 +1030 (CST) Date: Fri, 16 Nov 2001 10:51:55 +1030 From: Greg Lehey To: Eric Cc: freebsd-questions@freebsd.org Subject: Re: keeping a local collection of port sources Message-ID: <20011116105155.I62122@monorchid.lemis.com> References: <200111151913.fAFJDj921496@syndicate.tek-shop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111151913.fAFJDj921496@syndicate.tek-shop.com> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday, 15 November 2001 at 11:05:31 -0800, Eric wrote: > hello... > > I'm trying to set up a local storage area for all of the ports and packages > including sources and tarballs. I have the CD set, and I want to copy > everything to a dir on a spare hard disk, so when I do a pkg_add or a port > make install, it has a local copy of the code and just compiles it. > > I can't find out how tell the ports system to look at a local directory > rather than the CD. > > This seems simple in theory, and I'm sure it's nothin new, but I'm missing > something. Any ideas? By default, the ports Makefiles search /usr/ports/distfiles/ before anything else. That's also where they get put if they're pulled in over the net. Move your source tarballs there and you should have no problems. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message