From nobody Thu Aug 24 06:11:38 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RWXlz6HJ3z4qgmG for ; Thu, 24 Aug 2023 06:11:43 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RWXly2bXqz4VPp for ; Thu, 24 Aug 2023 06:11:42 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=yJAZLEPA; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gNnA+9PzF2un+AWhmgc97tGlOQ1YcHKWST/gEXjUsDU=; b=yJAZLEPALayOh3zw6nf454GUbY TFjuksugARJ+NCZqOrXZVHsMFVmF4esQzR0ivRXXCfBrVP1gr/u2dNV/w34W7XB4QZtkv3gY27CLd 3v93C86/n8SbQP20u5zyXrWQVxKA4CNE06t9nFFSZ6owJ2tvJqRSMzDqOD597ulzVtqkEhYaEeEjN mYcaLk17nCfSFf5Q0YpAUuo3aZSqNZ+KyW2B3fVST2oYfzeUGtZujK/WiGRXU6si4iEOzwp78OoQo NrkGbH2PdimFeT3S9BvAwvnCoZ7VL7Ap8y8uqwmjshbF/qHw8/14p9oLcuCgjNjBNRDlkFOYEliGw XHhYlVzQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qZ3ZD-00AdeI-4r for ports@freebsd.org; Thu, 24 Aug 2023 08:11:39 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qZ3ZC-000NjL-2n for ports@freebsd.org; Thu, 24 Aug 2023 06:11:38 +0000 Date: Thu, 24 Aug 2023 08:11:38 +0200 From: Felix Palmen To: ports@freebsd.org Subject: Re: Correct install locations for things using the base system make infrastructure Message-ID: <2isjvedxclinbgjgj3mv5jbvkf5mpkycnoxzlamjh2qc3iqsxl@2uyro3edfq67> Mail-Followup-To: ports@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org> <9b436070-412d-f782-d143-1a86733e03be@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bhq5afmqr2y4yawe" Content-Disposition: inline In-Reply-To: <9b436070-412d-f782-d143-1a86733e03be@FreeBSD.org> User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------- X-Rspamd-Queue-Id: 4RWXly2bXqz4VPp --bhq5afmqr2y4yawe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kyle Evans [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 {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--