Package: libcpanplus-perl / 0.9162-1

Metadata

Package Version Patches format
libcpanplus-perl 0.9162-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
cpanplus_config_path.diff | (download)

lib/CPANPLUS/Configure.pm | 1 1 + 0 - 0 !
lib/CPANPLUS/Internals/Constants.pm | 3 3 + 0 - 0 !
2 files changed, 4 insertions(+)

 save local versions of cpanplus::config::system into /etc/perl.

This is a configuration file and needs to go in /etc by policy.
Besides, /usr may not even be writable.

This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path.

See #533707.

cpanplus_definstalldirs.diff | (download)

lib/CPANPLUS/Config/System.pm | 30 30 + 0 - 0 !
1 file changed, 30 insertions(+)

 configure cpanplus to use the site directories by default.

Bug-Debian: https://bugs.debian.org/533707

The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker)
or installdirs=core (Module::Build), so we need to explicitly ask for
the site destination to get upgraded versions into /usr/local.

See also the sister patch, debian/cpan_definstalldirs .