Re: dwm pkgsrc vs custom compile

Soren Jacobsen <[email protected]> Thu, 5 May 2016 13:23:56 -0700
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
On 05/05 19:28, [email protected] wrote:
> For creating a patch I have installed pkgtools/pkgdiff, then:
> 
> `make patch`
> to extract the tarball (and apply patches, if any exist)
> 
> `EDITOR=vim pkgvi work/dwm-6.1/config.def.h`
> edit it as desired,
> 
> `mkpatches && make distinfo`
> to create a proper pkgsrc patch and the relevant distinfo,
> 
> `make install`
> 
> This should create a patch file in your patches subdirectory that you
> can later reuse.

There's an even easier solution: Set LOCALPATCHES=/some/directory in
mk.conf and put your changes in /some/directory/wm/dwm/localstuff.diff

Soren