Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 01:04:48 +0300 (MSK)
From:      "."@babolo.ru
To:        dochawk@psu.edu (Richard E. Hawkins)
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: when manpages collide with system (lf95 fortran)
Message-ID:  <200203182204.BAA20356@aaz.links.ru>
In-Reply-To: <200203182032.g2IKWc314120@fac13.ds.psu.edu> from "Richard E. Hawkins" at "Mar 18, 2 03:32:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Richard E. Hawkins writes:
> 
> Linux fortran compilers generally install everything in 
> 
> /usr/local/distname
> 
> complete with bin/ and man/ directories, and a setup script which 
> modifies PATH and MANPATH to include these.
> 
> It's my inclination to keep this structure, both due to the likelihood 
> of collisions between vendors if multiple compilers were installed, and 
> I've now discovered that a man page for rc (a resource compiler) would 
> conflict wiht the man page for rc (configuration).
> 
> I've hit the glitch that the setup script contains:
> 
> if ($?MANPATH == 0) setenv MANPATH ''
IMHO this should be

if ($?MANPATH == 0) setenv MANPATH `/usr/bin/manpath`

> setenv MANPATH /usr/local/lf9561/manuals/man/ssl2:$MANPATH
> setenv MANPATH /usr/local/lf9561/manuals/man/lf95:$MANPATH
IMHO strings like

OPTIONAL_MANPATH /compat/linux/usr/local/lf9561/manuals/man/lf95

in /etc/manpath.config are better

> 
> This may work in linux, but my default setup results in my not having a 
> MANPATH set, and thus the regular manpages become unavailable.
> 
> I could hardwire these into the conditional, but I suspect that it's 
> possible to have manpages in different locations depending on country 
> and the DISTDIR variable for ports.  
> 
> What would be the "correct" way to handle this?
> 
> hawk
> 
> -- 
> Richard E. Hawkins, Asst. Prof. of Economics    /"\   ASCII ribbon campaign
> dochawk@psu.edu  Smeal 178  (814) 375-4700      \ /   against HTML mail
> These opinions will not be those of              X    and postings. 
> Penn State until it pays my retainer.           / \   
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 


-- 
@BABOLO      http://links.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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