Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2023 18:15:58 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        David Chisnall <theraven@freebsd.org>
Cc:        FreeBSD Developers <developers@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: Correct install locations for things using the base system make infrastructure
Message-ID:  <ZOaFHiKfVE0PYbMH@nuc>
In-Reply-To: <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org>
References:  <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZOaFHiKfVE0PYbMH>