move repository to https://github.com/Perl-Toolchain-Gang/local-lib
[p5sagit/local-lib.git] / Makefile.PL
index 18ee344..6ca54b8 100644 (file)
@@ -196,9 +196,8 @@ my %extra_info = (
   'meta-spec' => { version => 2 },
   resources => {
     repository => {
-      # r/w: p5sagit@git.shadowcat.co.uk:local-lib.git
-      url => 'git://git.shadowcat.co.uk/p5sagit/local-lib.git',
-      web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/local-lib.git',
+      url => 'git://github.com/Perl-Toolchain-Gang/local-lib',
+      web => 'https://github.com/Perl-Toolchain-Gang/local-lib',
       type => 'git',
     },
     x_IRC => 'irc://irc.perl.org/#local-lib',
@@ -209,7 +208,7 @@ my %extra_info = (
     license => [ 'http://dev.perl.org/licenses/' ],
   },
   prereqs => {
-    runtime   => { requires => { perl => '5.8.1' } },
+    runtime   => { requires => { perl => '5.6.0' } },
   },
 );
 
@@ -259,7 +258,7 @@ else {
                 my $value = $CPAN::Config->{$setting} or next;
                 if ($setting =~ /^make/
                   ? $value =~ /(?:PREFIX|INSTALL_BASE)/
-                  : /(?:--prefix|--install_base)/
+                  : $value =~ /(?:--prefix|--install_base)/
                 ) {
                     die <<"DEATH";
 WHOA THERE! It looks like you've got $CPAN::Config->{$setting} set in
@@ -309,8 +308,8 @@ WriteMakefile(
   PREREQ_PM => {
     %RUN_DEPS,
   },
-  keys %BUILD_DEPS ? ( BUILD_REQUIRES => \%BUILD_DEPS ) : (),
-  keys %TEST_DEPS ? ( TEST_REQUIRES => \%TEST_DEPS ) : (),
+  BUILD_REQUIRES => \%BUILD_DEPS,
+  TEST_REQUIRES => \%TEST_DEPS,
   META_ADD => \%extra_info,
   META_MERGE => {
     no_index => {