Bug#630779: perl: wrong default installsite path for man pages

Dominic Hargreaves dom at earth.li
Sat Aug 20 22:31:02 UTC 2011


On Sun, Aug 21, 2011 at 12:25:47AM +0200, Vincent Lefevre wrote:
> On 2011-08-20 16:31:00 +0100, Dominic Hargreaves wrote:
> > On Fri, Jun 17, 2011 at 11:39:24AM +0200, Vincent Lefevre wrote:
> > [ExtUtils::MakeMaker Makefiles]
> > 
> > > The INSTALLSITE* variables are incorrect:
> > > 
> > > INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
> > > INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
> > > 
> > > They should be:
> > > 
> > > INSTALLSITEMAN1DIR = $(SITEPREFIX)/share/man/man1
> > > INSTALLSITEMAN3DIR = $(SITEPREFIX)/share/man/man3
> > > 
> > > (with "share") to be consistent with other tools, such as the
> > > autotools.
> > > 
> > > Similarly,
> > > 
> > > $ perl '-V:install.*man.*'
> > > installman1dir='/usr/share/man/man1';
> > > installman3dir='/usr/share/man/man3';
> > > installsiteman1dir='/usr/local/man/man1';
> > > installsiteman3dir='/usr/local/man/man3';
> > > installvendorman1dir='/usr/share/man/man1';
> > > installvendorman3dir='/usr/share/man/man3';
> > > 
> > > though this isn't really an error since the FHS says that
> > > "/usr/local/share/man and /usr/local/man directories must
> > > be synonomous".
> > 
> > It's not clear whether your last comment is intended to refer to both
> > examples you give, although I don't see why it shouldn't apply to both.
> 
> My last comment refers only to the second example. AFAIK, the FHS
> says nothing like that for the other prefixes. /usr/local is a
> standard prefix, so that the symlink could be added when the system
> is installed. But this is not true for other prefixes like the user's
> home directory.

Ah, right, I was forgetting that $(SITEPREFIX) could be something
other than /usr/local. Thanks for the clarification.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)






More information about the Perl-maintainers mailing list