Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 10:51:55 +1030
From:      Greg Lehey <grog@FreeBSD.org>
To:        Eric <eric@astria.tek-shop.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: keeping a local collection of port sources
Message-ID:  <20011116105155.I62122@monorchid.lemis.com>
In-Reply-To: <200111151913.fAFJDj921496@syndicate.tek-shop.com>
References:  <200111151913.fAFJDj921496@syndicate.tek-shop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011116105155.I62122>