This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

perl vendorlib, sitelib (was: stow)


On Mon, 2015-07-27 at 18:13 -0400, Andrew Schulman wrote:
> Leave aside that it seems brain-dead that I should have to rebuild my package
> for such a triviality.  Wouldn't it be nice if I could put the files into, say,
> /usr/lib/perl5/vendor_perl, and not have to rebuild my package every time
> there's a new point release of Perl?

This is a good point; pure Perl modules should not need to be rebuilt
for every new Perl version.

It's too late for 5.22, but for 5.24 could we change this to:

prefix=/usr
privlib=/usr/share/perl5/${VERSION%.*}
archlib=/usr/lib/perl5/${VERSION%.*}
vendorprefix=/usr
vendorlib=/usr/share/perl5/vendor_perl
vendorarch=/usr/lib/perl5/vendor_perl/${VERSION%.*}
siteprefix=/usr/local
sitelib=/usr/local/share/perl5/site_perl
sitearch=/usr/local/lib/perl5/site_perl/${VERSION%.*}

Besides being better compliant with FHS, this would help avoid
unnecessary rebuilds with upgrades post-5.24.  A similar change that I
made to ruby for 2.0 saved me a LOT of time when upgrading to 2.2.

--
Yaakov



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]