From owner-freebsd-arch@freebsd.org Sat Mar 11 07:13:06 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D19AD07666 for ; Sat, 11 Mar 2017 07:13:06 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 490B014AF for ; Sat, 11 Mar 2017 07:13:06 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 48342D07664; Sat, 11 Mar 2017 07:13:06 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47AA4D07663; Sat, 11 Mar 2017 07:13:06 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2721F14AE; Sat, 11 Mar 2017 07:13:06 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1235) id 7874526FC; Sat, 11 Mar 2017 07:13:05 +0000 (UTC) Date: Sat, 11 Mar 2017 08:13:05 +0100 From: Baptiste Daroussin To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Cc: John Baldwin , freebsd-arch@freebsd.org, ports@freebsd.org, arch@freebsd.org Subject: Re: manpath change for ports ? Message-ID: <20170311071305.ueqmrlid7vt33ngt@ivaldir.net> References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <86mvcvojzt.fsf@desk.des.no> <2721378.xr7MGKcqvA@ralph.baldwin.cx> <86a88tmpe8.fsf@desk.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="q5nqo26jhuu3zfbd" Content-Disposition: inline In-Reply-To: <86a88tmpe8.fsf@desk.des.no> User-Agent: NeoMutt/20170225 (1.8.0) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2017 07:13:06 -0000 --q5nqo26jhuu3zfbd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 10, 2017 at 10:50:39AM +0100, Dag-Erling Sm=F8rgrav wrote: > John Baldwin writes: > > I wouldn't even mind if we had both /usr/local/man and /usr/local/share= /man > > so long as our default MANPATH included both if that means applying few= er > > patches to ports. >=20 > The default MANPATH is constructed dynamically from PATH: >=20 > 1. From each component of the user's PATH for the first of: > - pathname/man > - pathname/MAN > - If pathname ends with /bin: pathname/../man > Note: Special logic exists to make /bin and /usr/bin look in > /usr/share/man for manual files. >=20 > If we change this to: >=20 > 1. From each component of the user's PATH for the first of: > - pathname/man > - pathname/MAN > - If pathname ends with /bin or /sbin: pathname/../man and > pathname/../share/man Which I have just done :) Bapt --q5nqo26jhuu3zfbd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAljDo34ACgkQY4mL3PG3 Plq6uhAA30BLx/hsSJ8VXCwZkwXsmiDnH6/xBJd1VOiCNvQA9tHY2c2pGNj5cgkv HYBBvc9JfgIkLhxSiHtdRjB5KDnsHFLU1O4FQPxyACmk52YXdaO4OA7W0FFrzc8a uZbbHppjHQWUmfI2SEQTsB/wDCh2u8svWi6J3MluuvvyA7AMYk63DsmNJ0yJQOC0 0XjiaATvBRBmWtPlxMs2NIF3TyhzHHLPmCt2hvBsQcyHR9re5W9WajGO/n4eTM+v L0RQfGKtaGkSur+CeZ/4C7fTRKsFJbNPiMPDTnVTRyz/q3BNCJAXzSLu4Ew3qLcL j5ZfLBwdlWLvPayO4oyRPxSZuCp3azJuMQQP5rB7vQL6AbsHxl40tVC+Ff58ZcGc mSYN0bRbfyt8slIbTxCKwYIztSuDygHgPltEW2G0nqTcqRhsc43zqcjw5nz4yjkC lCMvYvbXjjn1OYqQpkgnzOGmm0Q1++CFeVN9YCgMMvbWOUk/9A7rjG/wXun2nI1d mLgj0YAwq5CU572lZpdMu8Ys7nozP5obvqUnpEi1mH2bJfJxFo8Uq8uh6tY51QZX YzvxoNb08JeIGkjWWDA/pw/4gGcqzLsrdGlNMqrgXCi56qq7JwP7ZyzfRfBamEQX uuade4jxbx+B/d4IKhCsjn0J0P49lMzRA92Afe5t2WL5NPAX42g= =dMw5 -----END PGP SIGNATURE----- --q5nqo26jhuu3zfbd--