Date: Thu, 15 Feb 2001 21:48:20 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Donald Burr of Borg <dburr@borg-cube.com> Cc: Ruslan Ermilov <ru@FreeBSD.org>, arch@FreeBSD.org Subject: Re: [Call for *quick* review] architecture-specific manpages Message-ID: <3A8C3283.57266038@FreeBSD.org> References: <Pine.BSF.4.21.0102151142430.73396-100000@borg-cube.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Donald Burr of Borg wrote: > On Thu, 15 Feb 2001, Maxim Sobolev wrote: > > MS>> : As some manual pages are intended only for specific architectures, > MS>> : man searches any subdirectories, with the same name as the current > MS>> : architecture, in every directory which it searches. Machine specific > MS>> : areas are checked before general areas. The current machine type may > ---------------------------- > MS>> : be overridden by setting the environment variable MACHINE to the name > --------------------------------------------------------- > MS>> : of a specific architecture. > MS>> > MS>> This would eliminate the need to MLINK every arch-specific file to the > MS>> parent directory, and would allow us to have both architecture-specific > MS>> and generic manpages with the same name in the same section. > MS>> > MS>> Comments? > MS> > MS>Why not to use HW_MACHINE mib to get current arch, so it would just work [tm] w/o the > MS>need to define MACHINE env variable? > > Umm, I think you misunderstand. The way I read it, the patches > automatically detect the machine architecture that you're running, but you > can set the MACHINE environment variable to *override* that automatic > detection. > > Please note the underlined passage in the quotation. Yeah, I read and understood it correctly, but I have not found anything even remotely resembling autodetection in the patch attached. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8C3283.57266038>