Date: Tue, 18 Apr 2023 15:12:51 +0200 From: Felix Palmen <zirias@FreeBSD.org> To: ports@freebsd.org Subject: Re: Get ${OSREL} at install time Message-ID: <plmv6w7gqn5zeyibyakqu5obtvnm627v323yuk374gkba77las@s6dhc2peqeif> In-Reply-To: <CAFDf7UK9qzbfPz-P8CnRgzoVV5J69U29Cf-fc10j4%2BsnhuBUmw@mail.gmail.com> References: <CAFDf7UK=-R6o2Q5o2ihsiD%2Bue_4L2j1tXEu2LiJSVp%2Br=uEwww@mail.gmail.com> <CAFDf7U%2BaV5rVQgcWz96v80tPWFH-9RXRmMbnrqEjv93xx9rvuw@mail.gmail.com> <CAFDf7ULnDW2w8O9WD%2BDMdT2ku0DtH9OWDBidfejJQ9BEhJHOUg@mail.gmail.com> <3gizlmiaz2h3qwk6xe64iik42vr6mtxyex4d2hjaymazz5nngt@3wm6jdrdxslm> <zrc4espwpzkt2ssauiz7gxz2zo6vzh2ms5j2kmqzbidoub4nc2@7yn7b6w25nkt> <CAFDf7UKS8LW6xJtaN%2Bud7-tGjxKQrSyMsnpy2ytCki7CKpOimg@mail.gmail.com> <2su26bpfemilo52atij5i2focesm4iejrkrjry5dr7w4xlxe55@5rjqkjv3tzyk> <CAFDf7UL7C2K%2BtmrPHsbedOT36Wm4SaQzfDRQg02sZhxYvd%2BdYQ@mail.gmail.com> <qg6dyvhltcxeoqq3s6njx6fu7dw2mynbuakxfvyg5c6htwzoha@fiycyd4pxcdd> <CAFDf7UK9qzbfPz-P8CnRgzoVV5J69U29Cf-fc10j4%2BsnhuBUmw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--4z63ij3q33mxrmol Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Nuno Teixeira <eduardo@freebsd.org> [20230418 13:45]: > I will do further tests and open an PR so other people try it (I hope). I would suggest a final improvement: You should probably sanity-check what you get from freebsd-version (and in case it isn't sane, stick to the compile-time defaults). That's because it's perfectly possible to install packages with "pkg -r" into a prefix that doesn't even have base installed (so, also no freebsd-version available there). --=20 Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer (mentee) -- {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 --4z63ij3q33mxrmol Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZD6XTF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MZaEAQDfaP55FoT7MwG1WsS4RiRjH4Gvo75WFKE8n1KlQzxxhwEAs+S57Cdu+bi2 OBkSt6uk8gEWWvh6stUfYvGj6tQr7Qk= =7ul2 -----END PGP SIGNATURE----- --4z63ij3q33mxrmol--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?plmv6w7gqn5zeyibyakqu5obtvnm627v323yuk374gkba77las>