Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2020 17:33:19 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Brandon helsley <brandon.helsley@hotmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Porting Practice
Message-ID:  <CAJuc1zOfdad=R=L2GjPj8Z14oWCgGxxx_jo-kBP8Vb4ZvYs97A@mail.gmail.com>
In-Reply-To: <CY4PR19MB01044CD89DA8628B053B9947F9680@CY4PR19MB0104.namprd19.prod.outlook.com>
References:  <CY4PR19MB0104E2513B1A1B57CE4CFB22F9680@CY4PR19MB0104.namprd19.prod.outlook.com> <CY4PR19MB01044CD89DA8628B053B9947F9680@CY4PR19MB0104.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Jul 2020 at 14:06, Brandon helsley
<brandon.helsley@hotmail.com> wrote:
[...]
>
> Yes it does, I understand how it works now, I just needed an example, and I can compare this with other methods to figure it out. How do you get the port working in your directory?

In general:
 1. extract the original sources elsewhere
 2. hack it to compile
 3. compare the hacks against the original sources again to generate diffs.
 4. put the diffs into the files/ directory of the port
 5. Tweak the Makefile for all targets (fetch, extract, build, stage, etc)

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zOfdad=R=L2GjPj8Z14oWCgGxxx_jo-kBP8Vb4ZvYs97A>