local patch to a /usr/ports file? how to do it?

Jerry Hicks gehicks at alltel.net
Fri Jun 20 06:59:28 PDT 2003

If you don't need to do it much just build like this:

make patch
<add your change directly to sendbackup-dump.c>
make install clean

If it's something you're doing very frequently you can
poke around the ports tree and you should be able to find
a few examples of ports which conditionally include a patch
based on a make parameter the user passes in.


Jerry Hicks
gehicks at alltel.net

On Friday, June 20, 2003, at 09:53  AM, Aaron Wohl wrote:

> I have a patch to /usr/ports/misc/amanda-clients.  Its a one line 
> change
> to sendbackup-dump.c to add the L switch to snapshot for 5.x when 
> making
> a dump.  Where do I put the patch so when I do make in
> /usr/ports/misc/amanda-clients it gets applied?  I checked the handbook
> and porters guide... I dont see how to have a local change.
> The patch im using isnt that great to submit... it just forces L on 
> dump.
>  It doesnt let amanda control when to use L or not.  Im just using this
> till something more real comes along.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list