add PERL_LOCAL_LIB_ROOT to get along better with CPAN.pm.
Chris Nehren [Mon, 3 Jan 2011 04:54:13 +0000 (23:54 -0500)]
lib/local/lib.pm

index 27f0415..ee0bbd3 100644 (file)
@@ -316,6 +316,7 @@ sub setup_env_hash_for {
 sub build_environment_vars_for {
   my ($class, $path, $interpolate) = @_;
   return (
+    PERL_LOCAL_LIB_ROOT => $path,
     PERL_MB_OPT => "--install_base ${path}",
     PERL_MM_OPT => "INSTALL_BASE=${path}",
     PERL5LIB => join($Config{path_sep},