Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 00:40:31 +0200
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        Matthew Pounsett <matt@conundrum.com>
Cc:        ohauer@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: Complicated patching
Message-ID:  <4DD2F95F.5070300@FreeBSD.org>
In-Reply-To: <338FDD60-B7F5-4AC0-864F-3DB745ACB06D@conundrum.com>
References:  <958AF7F7-AD80-4F01-8F1D-E9E262B953F6@conundrum.com>	<4DD2F188.6050402@FreeBSD.org> <338FDD60-B7F5-4AC0-864F-3DB745ACB06D@conundrum.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-05-18 00:23, Matthew Pounsett wrote:
> 
> On 2011/05/17, at 18:07, Olli Hauer wrote:
> 
>> there is a way, sample ports:
>> dns/djbdns, dns/bind94, mail/postfix (VDA patches) and many more
> 
> Thanks for the examples.  I'll dig through those and see what I can glean from them.
> 
>> A short description can be found in Mk/bsd.port.mk
>> A longer description can be found in the porters handbook
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html
> 
> I've read through the porters handbook, and this page in particular, but didn't see anything that solved my problem.  I'll have another look though.  
> 
> Thanks very much!
> 
>>
>> Additional you can place a patch without the prefix "patch-"
>> into the portname/files directory, then use for example
>>
>> .if defined(PATCH_THIS_FOO)
>> EXTRA_PATCHES+=
>> .endif
> 

> In a (possibly foolish) attempt to add a third-party patch 
to an application I use *without* abandoning the ports tree
for this app, I'm trying to make a local modification to the
port to download and include the patch in the build process.

It the patch doesn't change that often and the size is not to
big then it is an option to add the patch to the port/files
directory (if it is permitted by the author and/or license)

Another option can be to mirror the patch somewhere else or
ask if the committer can store the patch in local_distfiles.





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