Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 09:59:25 -0400
From:      Jerry Hicks <gehicks@alltel.net>
To:        "Aaron Wohl" <freebsd@soith.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: local patch to a /usr/ports file? how to do it?
Message-ID:  <66E528C4-A327-11D7-9B09-0030657B5F1E@alltel.net>
In-Reply-To: <20030620135324.66B8933306@www.fastmail.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Cheers,

Jerry Hicks
gehicks@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66E528C4-A327-11D7-9B09-0030657B5F1E>