tech-pkg archive

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

Re: security/doas: manpage error on macOS (patch included)



On Fri, Oct 23, 2020 at 09:25:46AM +0100, Michael-John Turner wrote:
> On Thu, Oct 22, 2020 at 06:14:36PM +0000, nia wrote:
> > You can just override the variable with MAKE_FLAGS, probably.
> 
> Ah yes, good point. That's already done in the pkgsrc Makefile though:
> MAKE_ENV+=      MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
> 
> My patch removes these two lines in the upstream Makefile that override
> MANDIR, inserting 'share' on Darwin systems:     # On MacOS the default man
> page path is /usr/local/share/man
>     MANDIR=$(DESTDIR)$(PREFIX)/share/man
> 
> Cheers, MJ
> -- 
> Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/
> 

MAKE_FLAGS will override variables set in the upstream Makefile,
MAKE_ENV won't.


Home | Main Index | Thread Index | Old Index