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

Re: patch-${FLAVOR_EXT}



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.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de



Visit your host, monkey.org