Date: Fri, 19 Mar 2010 13:43:17 -0400 From: Alejandro Imass <ait@p2ee.org> To: Roland Smith <rsmith@xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source Message-ID: <a14066a01003191043s6daf8b9bu74089bc826b5f118@mail.gmail.com> In-Reply-To: <20100319170159.GB71392@slackbox.erewhon.net> References: <a14066a01003190935t4bbef41esc44c60a5b00e6144@mail.gmail.com> <20100319170159.GB71392@slackbox.erewhon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 19, 2010 at 1:01 PM, Roland Smith <rsmith@xs4all.nl> wrote: > On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: >> Hi, >> >> I need to modify a file from a port before building. Specifically, the [...] > > Add the patch to the files/ directory of the port. The patch should be > relative to the main source directory of the port, e.g. work/foo-x.y for = the > foo port. Use a name for the patch that doesn't exist yet. > > After creating the patch, use chflags to set the uschg and uunlnk flags f= or > your patch. This way, if the port is updated, your patch cannot be > removed. But you might need to update it. > Thanks! Worked like a charm!!! Nevertheless, now there is another bug :-( Cheers! Alejandro Imass > Roland > -- > R.F.Smith =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =A0B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a14066a01003191043s6daf8b9bu74089bc826b5f118>