From nobody Tue Jan 23 12:33:04 2024 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 4TK6272pfKz57y4R for ; Tue, 23 Jan 2024 12:33:19 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TK6272Dsdz49dB for ; Tue, 23 Jan 2024 12:33:19 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706013199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=avIAa2U2Nzlirxe+4zOzH6g+KcwLW0kzJoze6bJghMY=; b=YtMbSG2yR3o5Q1rEJR/qjbP5jPnN/13DqXRf60/DLjD1pNipwm1Iqgf0eLDOp8ZmmA8S5p L35nFHAcyf6CGX+dkvfww/x7K8S+l2KsEbCUsGOlxM3dk7UKm9Czu5+iqPc5rZFub3LNVA bvDHm+MJKaC2BFTmMdsbPkMP3NOBh5vZ/RSZb0D85j1amvajXG6nSgGGHtHXpkyNlJfFlZ /QHylb8TUTZAILidFc39uEWNhJyLtx86x5TvHYnjfMlScDFBGcEoxWFiz4H5bPoupDCIwv G2v0xFAP72Ex+UcPP4QZWEZeO5RP8WFcsl13emLGLmsrAlwEjqU1qarS/taa8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706013199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=avIAa2U2Nzlirxe+4zOzH6g+KcwLW0kzJoze6bJghMY=; b=XQxD52o8EynLFk3a4tki/wqnmQtn/PjsnyJX4gmxJCcUuczYZQVKkofJBMbsBE/v6EcNCE gnYYbUnDU7BJlWClzoMpxAV/3UewM9pd28BKRVk2sbXASjkJg8n3seugirWxayNtvEMgOB 3lLt/BvqMsXOyS7J8CQMl1iRxr+Rfj1kwfLc9rShAHzQCQjV1LJXDBFrCY0uefoXjfCyAY NLPMZbvrqiqsuiiUetuLZaPLUidhtMg5CWZJjSv5QZh7daFfDQF2UBppUzqf/pFOB5h82J KLNeyacDiaxeMlt727CNTqZzyMVdpMVHpq1eLkcTiXmWwiXOykcPkZdypV6WhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706013199; a=rsa-sha256; cv=none; b=NotB2V9OCOpfzcU9gcOf6zjJCktHkF9/6neSy4tQ9Ik+yEZ2LCmxzxjs/loL6xHHBig4L1 pLgRil8aIQXJ8Vra9j+TrqjauozRdnJ+RI7RaJBArWFvb/2vqllu1AbdH/fGrFhz8ca0bb PFBQfeoNDuzVtc6mwwtOMlE7U8jzERa2JgUJeW6dbrFNM1lseyMZSV7BXSixBx3iEEbdoM lhABGgsmh9LoGiiIWSwLxXJUo907rr/wSWCpA5xO8fd2NOKcB4/Y1uHQO6XxGst0/bpHF1 TQEqDrjxwRDxUxj2OwCH0qBxO7gZASQ0ORMwell36LSRg2UvrBjJ8N9gA/ek5A== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TK6266fj4z1J8R for ; Tue, 23 Jan 2024 12:33:18 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id eb8cda67 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Tue, 23 Jan 2024 12:33:15 +0000 (UTC) From: Moin Rahman Content-Type: multipart/signed; boundary="Apple-Mail=_65609BE0-91A4-4AF8-A645-022C10A9FFF5"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Call for help: moving manpages to share/man Date: Tue, 23 Jan 2024 13:33:04 +0100 References: To: "ports@FreeBSD.org" In-Reply-To: Message-Id: <5DA3303D-107B-423C-8363-4B2921965305@freebsd.org> X-Mailer: Apple Mail (2.3731.700.6) --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 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--