tech-misc archive

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

Re: dwm pkgsrc vs custom compile



On 05/05 19:28, coypu%SDF.ORG@localhost 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


Home | Main Index | Thread Index | Old Index