Date: Tue, 23 Jan 2024 13:33:04 +0100 From: Moin Rahman <bofh@freebsd.org> To: "ports@FreeBSD.org" <ports@freebsd.org> Subject: Re: Call for help: moving manpages to share/man Message-ID: <5DA3303D-107B-423C-8363-4B2921965305@freebsd.org> In-Reply-To: <CALH631=312%2Bz8-1Gr32gZL_X3QduNCiMEyM3ZOwvqmAh6eRW7A@mail.gmail.com> References: <CALH631=312%2Bz8-1Gr32gZL_X3QduNCiMEyM3ZOwvqmAh6eRW7A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_65609BE0-91A4-4AF8-A645-022C10A9FFF5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 21, 2024, at 11:19 AM, Gleb Popov <arrowd@freebsd.org> wrote: >=20 > Ahoy there fellow porters! >=20 > portmgr@ is currently working on switching the directory into which > man pages are installed from "${PREFIX}/man" to "${PREFIX}/share/man". > It is quite a tedious process, as you might imagine. More than that, > changing the default for a given build system instantly breaks all > ports that use it, which means that this task can't be done > incrementally in the main branch. >=20 > I've created a branch [1] in my own fork that switches mandir for the > autotools build system and am inviting everyone to collaborate on > that, until all the fallout is fixed. I'm asking port maintainers to > check if they have ports with the "GNU_CONFIGURE=3Dyes" knob, as these > are most likely broken by the switch. Moin kindly prepared a list of > affected ports along with their maintainers (thanks Moin!) [2] >=20 > In the most simple case you'll only need to change the pkg-plist, as I > did in this example commit [3]. Make sure to bump PORTREVISION as > we're altering the package's contents by this change. Also put the > "Approved by: portmgr (blanket)" tag in the commit message, as the > whole initiative was approved by the portmgr@ group. >=20 > If you want to collaborate either create a pull request on GH against > my branch or just send me a git format-patch output for your change. >=20 > Thanks beforehand to everyone going to help! >=20 > [1] https://github.com/arrowd/freebsd-ports/tree/autotools-mandir > [2] http://arrowd.name/manprefix-fail.maintainer.txt > [3] = https://github.com/arrowd/freebsd-ports/commit/cc288e9b742cd54640e06737334= dd57d88d45f6d >=20 Just to share an update about this issue: We have removed all possible occurrences of MANPREFIX from the tree. Yes there are still some occurrences which are used as arguments to Make and are not relevant to our use cases. At this point we are working on removing this VARIABLE from Mk infrastructure. So I will request the committer to be cautious and not to add it again in existing or new ports by mistake. The rest of the changes for GNU_CONFIGURE will be coming in the forthcoming days and looking forward for everyone's contribution to that. And thanks to those who have already done their part in their ports. If you have time to fix other ports specially the ones from non-committers feel free to commit with blanket approval as long as it build perfectly. In case you are brave enough to pick one here are some helpers. Who likes to be classic: find . -type f -d 3 -name "pkg-plist*" -exec grep -E '^man|%%man|%%/man' = {} \+ Who likes to be modern and neo: rg --type-add 'plist:pkg-plist*' -tplist '^man|%%man|%%/man' Kind regards, Moin(bofh@22 with all hats off) --Apple-Mail=_65609BE0-91A4-4AF8-A645-022C10A9FFF5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmWvsgBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJFAmg/9FIk7D8Q6NXG6KxQmbfBHDQRg0CWf9HN106BqTBBMCTA1FpLKguhy8TAc wQFq/2u7FmfRQia2sZqZiZ/1/beIZjF+xK/KR1Tobag/bPnvkRh66FtaPGINDu4E uLq5JOVVDYv5T9EQiGiOVmS/RlGqcXGr4gCOtxYQPPTxb/q/6L5lWdxAa4kWxx3Q QrsVIhc0KG3HutsJ9MQX5Fl7Mj1Z98ypolX8oyImpR7C3NayAn77ZpBif/Fv938F 8xkAHBIx2z9GsHkIcZtGjZl+QR2ec8C2AElmBIeqZ7MNF+4NTbRIUJsjetiRyLW0 HPDxEJjpRffLN0kT53d6WYI3CFcjxGCavn7mRHp8LnLlmA1faSlLhelU9oqzunRo OR8rNKUsTNdY740HffyrQAIR4/SDY5w/tzgOTKM17CLkoTg1EzDGHN1uV2OYyBgK 0fw2uqrr8l6Jxi2mzjkGXTECBdmW0F+1vxTtGGv2N2zJ6Hm9enQXoeYBeBFaYM2Y txWEc4xyJBn9W5VggufsJHzTpED2tnxoCCywazbB8Wqk1x+FUqRXfRRmNuj2XENs 45p/2Qe5i2/cpanS76jPEaMwA1Ie7JmDySOLKWUC0QMEPzH4L/PSHWVpkZiEWy08 wO4IIdcG8AIeBjMTNAnRLkwsnwOYK36bSj5cjr9XiiBT1rg//m0= =cQ6n -----END PGP SIGNATURE----- --Apple-Mail=_65609BE0-91A4-4AF8-A645-022C10A9FFF5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DA3303D-107B-423C-8363-4B2921965305>