Re: Correct install locations for things using the base system make infrastructure

From: Kyle Evans <>
Date: Wed, 23 Aug 2023 23:58:05 UTC
On 8/23/23 17:15, Mark Johnston wrote:
> On Wed, Aug 23, 2023 at 10:04:45PM +0100, David Chisnall wrote:
>> Hi all,
>> I’ve been fighting this for over an hour and I presume someone else has done it in the past.  If something is built using the BSD build goo, what do I need to do in the ports infrastructure to make sure that BINDIR and MANDIR are set, to make it install things in the right places?
>> So far, every invocation I’ve tried has made things differently wrong and the porters handbook is completely silent on the case of bmake.  Any help gratefully received!
> ftp/netdumpd does this.  The recipe seems to be:
> etc.

Right, the two key things I noted when adding sysutils/quickjail is that 
with you'll need USES=uidfix, and then

MAKE_ENV+=      BINDIR="${PREFIX}/bin" \ 


(Both of which I ${MKDIR} in pre-install)


Kyle Evans