Re: dwm pkgsrc vs custom compile

Firecrow Silvernight <[email protected]> Thu, 05 May 2016 16:44:48 -0400
Newsgroups gmane.os.netbsd.devel.general
Message-ID <U-puqs37p3LDUqnLGiiLyIfRlcVIhVfIyewnLGVF-ZxtzpnMIQ8DSXwNaH_x6dN1Va_koUJdqzGOu979zdergDtbSe-QKrNxRIt_27UfKa4=@firecrow.com>
-------- 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: [email protected]
To: [email protected]
CC: [email protected],[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

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