How do I add a local patch to a port?

Alexander Haderer alexander.haderer at charite.de
Tue Mar 9 10:56:56 PST 2004


At 13:41 09.03.2004 -0500, Shaun T. Erickson wrote:
>...
>Well, cd'ing into the work directory and then into the source directory 
>and saying:
>
>patch < patchfile
>
>correctly patches the file ./dir/file2bepatched
>
>So, if patchfile is in the files directory, it ough to just work, yes? But 
>it isn't.

Just another guess: Probably it makes a difference if the patchfile patches 
./dir/tobepatched and dir/tobepatched. A brief look into other ports shows 
me that the latter is used. I don't know if it have to be this way or not.

Alexander



More information about the freebsd-questions mailing list