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 Sat, Oct 24, 2020 at 08:27:47AM +0000, nia wrote:
MAKE_FLAGS will override variables set in the upstream Makefile,
MAKE_ENV won't.

Ah, thanks! I wasn't aware of that subtlety.

Adjusting MAKE_FLAGS fixes the issue without a patch to the upstream source
- patch to the package Makefile attached.

Cheers, MJ
--
Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/
--- Makefile.orig	2020-10-22 10:30:09.000000000 +0100
+++ Makefile	2020-10-24 15:41:42.000000000 +0100
@@ -15,7 +15,7 @@
 # illumos, SmartOS, OpenIndiana.
 # Add any failing platforms as BROKEN_ON_PLATFORM.
 
-MAKE_ENV+=	MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=	MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
 MAKE_ENV+=	SYSCONFDIR=${PKG_SYSCONFDIR:Q}
 
 SPECIAL_PERMS+=		bin/doas ${SETUID_ROOT_PERMS}


Home | Main Index | Thread Index | Old Index