manpath oddity

Shawn Protsman protsman at mac.com
Wed Aug 12 10:14:37 PDT 2009


The Apple installed manpages load before the macport manpages though  
my path displays otherwise.

Example:

] echo $MANPATH
/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/share/man

] man perlcheat | grep 'perl v5.'
perl v5.8.8                       2006-01-07                       
PERLCHEAT(1)

] man perl | grep 'perl v5.'
perl v5.8.8                       2006-01-07                            
PERL(1)

I'm expecting the manpage from '/opt/local/share/man/man1p/' which  
contains 5.8.9.

] man /opt/local/share/man/man1p/perl.1pm | grep 'perl v5'
perl v5.8.9                       2007-11-17                          
PERL(1pm)

I can pull up the manpage for v5.10 (which is at /opt/local/share/man/ 
man1/perl-5.10.1.gz):

] man perl-5.10 | grep 'perl v5.'
perl v5.10.0                      2007-12-18                            
PERL(1)

So I'm a tad confused why Apple's pages are taking precedence.

--Shawn



More information about the macports-users mailing list