X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FCPANPLUS%2FDist%2FGentoo.pm;h=f0623a3992d7a1b650577ccf78dfc1e60cb35672;hb=b85ef55116fae05d174012f562c2500cd22c71cb;hp=307d802108c903dfda523ba9ce864ef69a7498f3;hpb=4e0c9cad73c65d6c469d35afebbef746ab15ce89;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 307d802..f0623a3 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -25,11 +25,11 @@ CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. =head1 VERSION -Version 0.08 +Version 0.09 =cut -our $VERSION = '0.08'; +our $VERSION = '0.09'; =head1 SYNOPSIS @@ -74,19 +74,19 @@ First, fetch tarballs for L and L : $ cd /tmp $ wget http://search.cpan.org/CPAN/authors/id/K/KA/KANE/CPANPLUS-0.88.tar.gz - $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.08.tar.gz + $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.09.tar.gz Log in as root and unpack them in e.g. your home directory : # cd # tar xzf /tmp/CPANPLUS-0.88.tar.gz - # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.08.tar.gz + # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.09.tar.gz Set up environment variables so that the toolchain is temporarily available : # export OLDPATH=$PATH # export PATH=/root/CPANPLUS-0.88/bin:$PATH - # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.08/blib/lib:/root/CPANPLUS-0.88/lib:/root/CPANPLUS-0.88/inc/bundle + # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib:/root/CPANPLUS-0.88/lib:/root/CPANPLUS-0.88/inc/bundle Make sure you don't have an old C<.cpanplus> configuration visible : @@ -94,7 +94,7 @@ Make sure you don't have an old C<.cpanplus> configuration visible : Bootstrap L : - # cd /root/CPANPLUS-Dist-Gentoo-0.08 + # cd /root/CPANPLUS-Dist-Gentoo-0.09 # samples/g-cpanp CPANPLUS Reset the environment : @@ -116,7 +116,7 @@ You may need to run each of these commands two times for them to succeed. At this point, you can bootstrap L using the system L : - # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.08/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo + # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo # emerge -tv CPANPLUS-Dist-Gentoo =back @@ -324,7 +324,7 @@ sub prepare { $stat->prepared(0); - $self->SUPER::prepare(%opts); + $self->SUPER::prepare(@_); return $FAIL->() unless $stat->prepared;