tech-misc archive

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

Re: dwm pkgsrc vs custom compile





-------- Original Message --------
Subject: Re: dwm pkgsrc vs custom compile
Local Time: May 5, 2016 4:23 PM
UTC Time: May 5, 2016 8:23 PM
From: snj%blef.org@localhost
To: coypu%SDF.ORG@localhost
CC: tech-misc%netbsd.org@localhost,fire%firecrow.com@localhost

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

that's great, I thought something like that existed, but didn't know where to look, thanks for pointing me in the right direction.

~fire


Home | Main Index | Thread Index | Old Index