Date: Thu, 24 Aug 2023 08:11:38 +0200 From: Felix Palmen <zirias@freebsd.org> To: ports@freebsd.org Subject: Re: Correct install locations for things using the base system make infrastructure Message-ID: <2isjvedxclinbgjgj3mv5jbvkf5mpkycnoxzlamjh2qc3iqsxl@2uyro3edfq67> In-Reply-To: <9b436070-412d-f782-d143-1a86733e03be@FreeBSD.org> References: <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org> <ZOaFHiKfVE0PYbMH@nuc> <9b436070-412d-f782-d143-1a86733e03be@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--bhq5afmqr2y4yawe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kyle Evans <kevans@FreeBSD.org> [20230823 18:58]: > On 8/23/23 17:15, Mark Johnston wrote: > >=20 > > ftp/netdumpd does this. The recipe seems to be: > >=20 > > MAKE_ARGS+=3DBINDIR=3D${PREFIX}/bin > >=20 > > etc. > >=20 >=20 > Right, the two key things I noted when adding sysutils/quickjail is that > with bsd.prog.mk you'll need USES=3Duidfix, and then >=20 > MAKE_ENV+=3D BINDIR=3D"${PREFIX}/bin" \ >=20 > MANDIR=3D"${PREFIX}/share/man/man" >=20 >=20 > (Both of which I ${MKDIR} in pre-install) JFTR, all of these issues can be avoided in a Makefile using bsd.prog.mk, so it *might* be an option to try and get it fixed upstream. For reference, here's my (truly minimal, but AFAIK correct) example: https://github.com/Zirias/unix-selfauth-helper/blob/master/Makefile Cheers, Felix --=20 Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --bhq5afmqr2y4yawe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOb0f18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MdC9AP9Gz4dzvwRziZcdtdSPO0AkgFq8VIWf9sRG/+Bn8cWnugEA3uCeEgX+/tS9 QZ+x/MODU1OdqBFkFmFmu17/+OluhgA= =aQtu -----END PGP SIGNATURE----- --bhq5afmqr2y4yawe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2isjvedxclinbgjgj3mv5jbvkf5mpkycnoxzlamjh2qc3iqsxl>