]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/blobdiff - lib/CPANPLUS/Dist/Gentoo.pm
Complete the bootstrapping process description
[perl/modules/CPANPLUS-Dist-Gentoo.git] / lib / CPANPLUS / Dist / Gentoo.pm
index 474dce6efcdc4ab6f054880ffcdcf31c8f702823..c86573c0e17f3053f009551419643bfce310e19f 100644 (file)
@@ -72,8 +72,7 @@ Bootstrap an ebuild for L<CPANPLUS::Dist::Gentoo> using itself.
 First, make sure your system C<perl> is C<5.10> or greater, so that the L<CPANPLUS> toolchain is available.
 
     $ perl -v
-    This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-linux
-    ...
+    This is perl 5, version 12, subversion 2 (v5.12.2)...
 
 C<perl> C<5.12> is the current stable Perl version in Gentoo.
 If you still have C<perl> C<5.8.x>, you can upgrade it by running the following commands as root :
@@ -94,6 +93,8 @@ Log in as root and unpack it in e.g. your home directory :
 
 Bootstrap L<CPANPLUS::Dist::Gentoo> using the bundled shell script C<g-cpanp> :
 
+    # perl Makefile.PL
+    # make
     # PERL5LIB=blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo
 
 Finally, emerge the C<CPANPLUS-Dist-Gentoo> ebuild you've just generated :
@@ -160,6 +161,7 @@ sub format_available {
    }
   } else {
    __PACKAGE__->_abort($errmsg);
+   return $format_available = 0;
   }
  }