patch-Makefile_PL 957 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-Makefile_PL,v 1.2 2008/09/23 20:57:20 jasper Exp $
  2. --- Makefile.PL.orig Mon Sep 22 10:22:31 2008
  3. +++ Makefile.PL Mon Sep 22 10:35:24 2008
  4. @@ -10,7 +10,7 @@ while (!$choice) {
  5. " 1) Interface to Ace socket server and local databases (pure Perl)\n" .
  6. " 2) The above plus XS optimizations (requires C compiler)\n" .
  7. " 3) The above plus RPC server interface (requires C compiler)\n\n" .
  8. - "Enter your choice: ", "1");
  9. + "Enter your choice: ", $ENV{'CHOICE1'});
  10. if ($reply =~ /(\d+)/) {
  11. $choice = $1;
  12. die "invalid choice: $choice!" if $choice < 1 || $choice > 3;
  13. @@ -24,7 +24,7 @@ push @extlib,'Freesubs' if $choice >= 2;
  14. push @extlib,'RPC' if $choice >= 3;
  15. print "\n";
  16. -setup_sitedefs() if prompt("Do you want to install Ace::Browser? ","n") =~ /[yY]/;
  17. +setup_sitedefs() if prompt("Do you want to install Ace::Browser? ",$ENV{'CHOICE2'}) =~ /[yY]/;
  18. my $headers = "./acelib/wh";
  19. WriteMakefile(