From rizzo@iguana.icir.org  Thu Jun  6 11:48:45 2002
Return-Path: <rizzo@iguana.icir.org>
Received: from iguana.icir.org (iguana.icir.org [192.150.187.36])
	by hub.freebsd.org (Postfix) with ESMTP id C52A937B411
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Jun 2002 11:48:38 -0700 (PDT)
Received: (from rizzo@localhost)
	by iguana.icir.org (8.11.6/8.11.3) id g56Ima613742;
	Thu, 6 Jun 2002 11:48:36 -0700 (PDT)
	(envelope-from rizzo)
Message-Id: <200206061848.g56Ima613742@iguana.icir.org>
Date: Thu, 6 Jun 2002 11:48:36 -0700 (PDT)
From: Luigi Rizzo <rizzo@icir.org>
Reply-To: Luigi Rizzo <rizzo@icir.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: stock awk installs gawk.1 manpage, overriding the one in ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38956
>Category:       gnu
>Synopsis:       stock awk installs gawk.1 manpage, overriding the one in ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 06 11:50:04 PDT 2002
>Closed-Date:    Tue Aug 13 09:57:59 PDT 2002
>Last-Modified:  Tue Aug 13 09:57:59 PDT 2002
>Originator:     Luigi Rizzo
>Release:        FreeBSD RELENG_4
>Organization:
>Environment:

The standard awk (3.0.6) in RELENG_4 installs both awk.1 and gawk.1 manpages
into /usr/share/man1.
When one installs ports/lang/gawk (which is version 3.1.0, and
has an important feature, namely asort()) the manpage goes
into /usr/local/man1 and so it is never seen.

There are two ways around this: either not install the gawk.1 manpage
with the system's awk, or rename the manpage for the port to something
like gawk310 or so.


>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Luigi Rizzo <rizzo@icir.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: gnu/38956: stock awk installs gawk.1 manpage, overriding the one in ports
Date: Fri, 7 Jun 2002 12:28:08 +0300

 On Thu, Jun 06, 2002 at 11:48:36AM -0700, Luigi Rizzo wrote:
 > 
 > >Number:         38956
 > >Category:       gnu
 > >Synopsis:       stock awk installs gawk.1 manpage, overriding the one in ports
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          change-request
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Jun 06 11:50:04 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Luigi Rizzo
 > >Release:        FreeBSD RELENG_4
 > >Organization:
 > >Environment:
 > 
 > The standard awk (3.0.6) in RELENG_4 installs both awk.1 and gawk.1 manpages
 > into /usr/share/man1.
 > When one installs ports/lang/gawk (which is version 3.1.0, and
 > has an important feature, namely asort()) the manpage goes
 > into /usr/local/man1 and so it is never seen.
 > 
 > There are two ways around this: either not install the gawk.1 manpage
 > with the system's awk, or rename the manpage for the port to something
 > like gawk310 or so.
 > 
 Putting /usr/local/bin before /bin and /usr/bin in your $PATH should
 fix the problem.  Refer to manpath(1) for details and other possible
 solutions.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Sysadmin and DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Tue Aug 13 09:56:30 PDT 2002 
State-Changed-Why:  
Use the man(1) -a to see all man pages of the same name. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38956 
>Unformatted:
