Subject: Re: How do I do a one-time patch to a package?
To: None <tech-pkg@netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: tech-pkg
Date: 12/11/2002 09:53:12
> > Hi again. I want to make a one-time patch to a C file in the racoon 
> > source. How do I do it so that the program gets rebuilt? "make clean" 
> > wipes out the work directory. Even if I modify one of the C files, 
> > "make build" doesn't do anything.
> > 
> 
> 	cd /usr/pkgsrc/security/racoon
> 	make clean
> 	make extract

Better than 'make extract' is 'make patch'. If it happens that you modify a
file that needs to be patched later, it is possible that the patch step will
fail.

> 	cd work/... (and apply your patch)
> 	cd /usr/pkgsrc/security/racoon
> 	make
> 
> ... should do it.

Yeah, it does ;)

-- 
Julio Merino (http://jmmv.dyndns.org/) <jmmv@menta.net>