r47466 - in /branches/upstream/liblocal-lib-perl/current: Changes MANIFEST META.yml lib/local/lib.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Nov 19 16:10:50 UTC 2009
Author: jawnsy-guest
Date: Thu Nov 19 16:10:45 2009
New Revision: 47466
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47466
Log:
[svn-upgrade] Integrating new upstream version, liblocal-lib-perl (1.004009)
Modified:
branches/upstream/liblocal-lib-perl/current/Changes
branches/upstream/liblocal-lib-perl/current/MANIFEST
branches/upstream/liblocal-lib-perl/current/META.yml
branches/upstream/liblocal-lib-perl/current/lib/local/lib.pm
Modified: branches/upstream/liblocal-lib-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblocal-lib-perl/current/Changes?rev=47466&op=diff
==============================================================================
--- branches/upstream/liblocal-lib-perl/current/Changes (original)
+++ branches/upstream/liblocal-lib-perl/current/Changes Thu Nov 19 16:10:45 2009
@@ -1,4 +1,13 @@
Revision history for local::lib
+
+1.004009 2009-11-07
+
+ - Fix warning if your $ENV{PERL5LIB} is undef
+
+ - Doc improvement from kgish/#perl-help at irc.perl.org
+
+ - t0m and chrisa on #local-lib at irc.perl.org pointed out a PERL5LIB ordering issue
+ with C<--self-contained>.
1.004008 2009-10-13
Modified: branches/upstream/liblocal-lib-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblocal-lib-perl/current/MANIFEST?rev=47466&op=diff
==============================================================================
--- branches/upstream/liblocal-lib-perl/current/MANIFEST (original)
+++ branches/upstream/liblocal-lib-perl/current/MANIFEST Thu Nov 19 16:10:45 2009
@@ -15,10 +15,10 @@
MANIFEST This list of files
META.yml
t/classmethod.t
-t/pipeline.t
t/dist/EUMM/lib/EUMM.pm
t/dist/EUMM/Makefile.PL
t/dist/MB/Build.PL
t/dist/MB/lib/MB.pm
t/install.t
+t/pipeline.t
eg/scripted_install.pl
Modified: branches/upstream/liblocal-lib-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblocal-lib-perl/current/META.yml?rev=47466&op=diff
==============================================================================
--- branches/upstream/liblocal-lib-perl/current/META.yml (original)
+++ branches/upstream/liblocal-lib-perl/current/META.yml Thu Nov 19 16:10:45 2009
@@ -28,4 +28,4 @@
perl: 5.8.1
resources:
license: http://dev.perl.org/licenses/
-version: 1.004008
+version: 1.004009
Modified: branches/upstream/liblocal-lib-perl/current/lib/local/lib.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblocal-lib-perl/current/lib/local/lib.pm?rev=47466&op=diff
==============================================================================
--- branches/upstream/liblocal-lib-perl/current/lib/local/lib.pm (original)
+++ branches/upstream/liblocal-lib-perl/current/lib/local/lib.pm Thu Nov 19 16:10:45 2009
@@ -11,7 +11,7 @@
use Carp ();
use Config;
-our $VERSION = '1.004008'; # 1.4.7
+our $VERSION = '1.004009'; # 1.4.9
my @KNOWN_FLAGS = (qw/--self-contained/);
sub import {
@@ -21,7 +21,7 @@
DEATH
# Remember what PERL5LIB was when we started
- my $perl5lib = $ENV{PERL5LIB};
+ my $perl5lib = $ENV{PERL5LIB} || '';
my %arg_store;
for my $arg (@args) {
@@ -55,11 +55,11 @@
# over privlibexp and archlibexp
@INC = _uniq(
+ $class->install_base_arch_path($arg_store{path}),
$class->install_base_perl_path($arg_store{path}),
- $class->install_base_arch_path($arg_store{path}),
split( $Config{path_sep}, $perl5lib ),
+ $Config::Config{archlibexp},
$Config::Config{privlibexp},
- $Config::Config{archlibexp}
);
# We explicitly set PERL5LIB here to the above de-duped list to prevent
@@ -453,9 +453,27 @@
echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >>~/.bashrc
After writing your shell configuration file, be sure to re-read it to get the
-changed settings into your current shell's environment. Bourne shells use C<.
-~/.bashrc> for this, whereas C shells use C<source ~/.cshrc>. Replace .bashrc or
-.cshrc with the name of the file you wrote above with the echo command.
+changed settings into your current shell's environment.
+
+ . ~/.bashrc
+
+If you are using C shell, you can do this as follows:
+
+ /bin/csh
+ echo $SHELL
+ /bin/csh
+ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib >> ~/.cshrc
+
+ source ~/.cshrc
+
+You can also pass --bootstrap=~/foo to get a different location -
+
+ perl Makefile.PL --bootstrap=~/foo
+ make test && make install
+
+ echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >> ~/.bashrc
+
+ . ~/.bashrc
If you're on a slower machine, or are operating under draconian disk space
limitations, you can disable the automatic generation of manpages from POD when
@@ -767,6 +785,10 @@
=head1 CONTRIBUTORS
+Chris Nehren <apeiron at cpan.org> now oversees maintenance of local::lib, in
+addition to providing doc patches and bootstrap fixes to prevent users from
+shooting themselves in the foot (it's more likely than you think).
+
Patches to correctly output commands for csh style shells, as well as some
documentation additions, contributed by Christopher Nehren <apeiron at cpan.org>.
@@ -789,6 +811,12 @@
Patch to add Win32 support contributed by Curtis Jewell <csjewell at cpan.org>.
+kgish/#perl-help at irc.perl.org suggested revamping the section on sourcing the
+shell file to make it clearer to those quickly reading the POD.
+
+t0m and chrisa on #local-lib at irc.perl.org pointed out a PERL5LIB ordering issue
+with C<--self-contained>.
+
=head1 COPYRIGHT
Copyright (c) 2007 - 2009 the local::lib L</AUTHOR> and L</CONTRIBUTORS> as
More information about the Pkg-perl-cvs-commits
mailing list