[nycbug-talk] patching ports

Marc Spitzer mspitzer
Tue Sep 6 01:22:57 EDT 2005

On 9/5/05, Scott Robbins <scottro at nyc.rr.com> wrote:
> On Mon, Sep 05, 2005 at 07:52:07PM -0400, George Georgalis wrote:
> > I'm looking at the freebsd porters-handbook but I don't see how to
> > patch a port. I have a simple patch to apply, but every way I try
> > it gets over written when the archive is extracted. How do I do
> > this?
> >
> > // George
> Lazy man's workaround.  (Heh, I think I have this on that fluxbox page
> that I've pleaded with you to read.)  :)
> make extract

Umm I think that should be:

make patch

That way if your patch conflicts with the patchs that come with the
port you can apply by hand, ie with vi, and still get it done.   If
you do it with make extract the port may not take all its patches and
then it will not even attempt to compile.


"We trained very hard, but it seemed that every time we were beginning to
form into teams we would be reorganized. I was to learn later in life that
we tend to meet any new situation by reorganizing, and a wonderful method it
can be for creating the illusion of progress, while producing confusion,
inefficiency and demoralization."
-Gaius Petronius, 1st Century AD

More information about the talk mailing list