Re: Correct install locations for things using the base system make infrastructure
Date: Wed, 23 Aug 2023 22:15:58 UTC
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 bsd.prog.mk 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: MAKE_ARGS+=BINDIR=${PREFIX}/bin etc.