Date: Tue, 4 Oct 2005 10:38:55 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Ali Adur <aladur@freemail.hu> Cc: freebsd-ports@freebsd.org Subject: Re: distfiles download Message-ID: <790a9fff0510040838p7fffc1bfmc791cc6d3a6ac3f3@mail.gmail.com> In-Reply-To: <790a9fff0510040757s1806277t69df42874100a459@mail.gmail.com> References: <freemail.20050830173218.91721@fm13.freemail.hu> <790a9fff0510030946m1a340916of6e0ba1c8d2727e1@mail.gmail.com> <790a9fff0510040757s1806277t69df42874100a459@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/4/05, Scot Hetzel <swhetzel@gmail.com> wrote: > Save the attached patch to a disk that you can access from FreeBSD, > then do the following to apply it: > > cd /usr/ports > gunzip /location/of/patch/bsd_mk.diff.gz > patch < /location/of/patch/bsd_mk.diff > > This adds a patch to /usr/ports/Mk/bsd.port.mk and creates a new file > called bsd.getright.mk. The bsd.getright.mk adds two new targets: > I just noticed that I had hard coded the save directory that GetRight will save the file to (E:\distfiles), in the bsd.getright.mk file.=20 This will need to be replaced with the location that you want GetRight to use to save the distfiles to. Since some files are in sub-directories, the list created by the bsd.getright.mk targets include this information. This will then cause GetRight to create these sub-directories, before saving the files. After you have the files downloaded by GetRight, you have two choices on how to handle the distfiles on the DOS partition under FreeBSD. 1. Move the files to /usr/ports/distfiles (make sure you keep the files in the sub-directories in their sub-directories in /usr/ports/distfiles). 2. Mount the DOS partition on /usr/ports/distfiles. This requires a dedicated DOS partition for the distfiles, and to change "E:\\distfiles" to the drive letter of the dedicated DOS partiton (i.e. "E:\\"). NOTE: If you replace "E:\\distfiles" in bsd.getright.mk, the double slashes are required. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0510040838p7fffc1bfmc791cc6d3a6ac3f3>