pkgsrc-Users archive

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

Re: hacking pkgsrc

Geert Hendrickx wrote:
On Thu, Mar 02, 2006 at 11:41:18AM -0800, Jeremy C. Reed wrote:

If you have a patch for pkgsrc, feel free to email this mailing list (if
not too long), to the MAINTAINER, and/or submit using GNATS/send-pr if
you don't want it forgotten.

Also worth mentioning is LOCALPATCHES.  If you want to apply a patch to the
sources on your system, but this patch isn't useful for others, you can put
it under ${LOCALPATCHES}/category/package, so that you don't have to
manually patch the sources everytime you (re)build that package.

It is also a little-known fact that you can keep the patches in the pkgsrc tree if you name them patch-local-*, e.g. pkgsrc/devel/gmake/patches/patch-local-1. These patches are applied during the patch phase automatically.


        -- Johnny Lam <>

Home | Main Index | Thread Index | Old Index