Subject: | wish: INSTALLDIRS={perl|site|vendor},arch |
Dear MakeMaker team,
for certain reasons on my local setup here, I'd like to be able
to force the installation of a pure-perl module into the
architecture-specific directories rather than the usual
architecture-independent lib path.
One example would be the Inline::CPP module, which is pure perl,
but it contains the name of the C++ compiler, which in my case
is architecture-dependent (CC on Solaris, g++ on Linux), so I'd like
to force Inline::CPP into the architecture specific part of the
library structure.
One way would be to allow a ",arch" or the like option to
the INSTALLDIRS macro for Makefile.PL, like e.g. this:
perl Makefile.PL INSTALLDIRS=site,arch
Does this make any sense? What do you think?
Cheers,
Marek