Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 08:13:05 +0100
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        John Baldwin <jhb@freebsd.org>, freebsd-arch@freebsd.org, ports@freebsd.org, arch@freebsd.org
Subject:   Re: manpath change for ports ?
Message-ID:  <20170311071305.ueqmrlid7vt33ngt@ivaldir.net>
In-Reply-To: <86a88tmpe8.fsf@desk.des.no>
References:  <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <86mvcvojzt.fsf@desk.des.no> <2721378.xr7MGKcqvA@ralph.baldwin.cx> <86a88tmpe8.fsf@desk.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <jhb@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170311071305.ueqmrlid7vt33ngt>