From owner-freebsd-arch Thu Feb 15 11:48:37 2001 Delivered-To: freebsd-arch@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 7D0AD37B491; Thu, 15 Feb 2001 11:48:31 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f1FJmMn07559; Thu, 15 Feb 2001 21:48:23 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.2/8.11.2) with ESMTP id f1FJmQm20553; Thu, 15 Feb 2001 21:48:26 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A8C3283.57266038@FreeBSD.org> Date: Thu, 15 Feb 2001 21:48:20 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Donald Burr of Borg Cc: Ruslan Ermilov , arch@FreeBSD.org Subject: Re: [Call for *quick* review] architecture-specific manpages References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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