[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch-${FLAVOR_EXT}



On Wed, 2003-09-10 at 04:29, Christian Weisgerber wrote:
> Flinn Mueller <ports_(_at_)_activeintra_(_dot_)_net> wrote:
> 
> > just found it as I got this email in the man page for bsd.port.mk
> > 
> > it's
> > PATCH_LIST+= mypatch
> > right?
> 
> This does probably not do what you expect.  If you put that line
> at the usual place in your ports Makefile, bsd.port.mk has not been
> included yet, thus PATCH_LIST has not been set and so you don't add
> anything, you effectively set PATCH_LIST=mypatch.  Later on,
> bsd.port.mk checks whether PATCH_LIST is already set and doesn't
> touch it.  Which means patch-* is never added to PATCH_LIST and
> your regular patches aren't applied.

And you will be debugging it for hours before you connect the dots and
figure it out...

...not that *I* have ever done that...

...really.

:)

Marc



Visit your host, monkey.org