pkgsrc-Users archive

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

Re: maintaining own set of patches



On Sat, 24 Jul 2010, Stefan Schaeckeler wrote:
> For some programs, I have my own set of patches. Putting them in the patch/ 
> directory is not enough, the filename must be also added to distinfo.
> 
> What if the package is updated? Cvs update does not touch distinfo because it 
> modified.
> 
> How can I integrate my own set of patches into pkgsrc?

$ make help topic=LOCALPATCHES
===> mk/patch/bsd.patch-vars.mk (keywords: PATCHFILES LOCALPATCHES PATCHDIR):
...
# User-settable variables:
#
#    LOCALPATCHES is the location of local patches that are maintained
#       in a directory tree reflecting the same hierarchy as the pkgsrc
#       tree, e.g., local patches for www/apache would be found in
#       ${LOCALPATCHES}/www/apache.  These patches are applied after
#       the patches in ${PATCHDIR}.
#

-- 
Steven
How should I know if it works?  That's what beta testers are for.  I
only coded it.
        -- Attributed to Linus Torvalds, somewhere in a posting


Home | Main Index | Thread Index | Old Index