35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.2 2006/09/25 09:24:24 rillig Exp $
|
|
|
|
--- Makefile.PL.orig 2003-05-12 23:09:00.000000000 +0200
|
|
+++ Makefile.PL 2006-09-25 11:18:20.000000000 +0200
|
|
@@ -2,28 +2,14 @@ use Config;
|
|
use ExtUtils::MakeMaker qw(prompt WriteMakefile);
|
|
use File::Path;
|
|
|
|
-my $choice;
|
|
-while (!$choice) {
|
|
- $reply = prompt(
|
|
- "\nWhat do you want to build?\n\n" .
|
|
- " 1) Interface to Ace socket server and local databases (pure Perl)\n" .
|
|
- " 2) The above plus XS optimizations (requires C compiler)\n" .
|
|
- " 3) The above plus RPC server interface (requires C compiler)\n\n" .
|
|
- "Enter your choice: ", "1");
|
|
- if ($reply =~ /(\d+)/) {
|
|
- $choice = $1;
|
|
- die "invalid choice: $choice!" if $choice < 1 || $choice > 3;
|
|
- }
|
|
-}
|
|
-$choice ||= 1; # safe default
|
|
-
|
|
+my $choice = 1;
|
|
|
|
my @extlib = ();
|
|
push @extlib,'Freesubs' if $choice >= 2;
|
|
push @extlib,'RPC' if $choice >= 3;
|
|
|
|
print "\n";
|
|
-setup_sitedefs() if prompt("Do you want to install Ace::Browser? ","n") =~ /[yY]/;
|
|
+#setup_sitedefs() if prompt("Do you want to install Ace::Browser? ","n") =~ /[yY]/;
|
|
|
|
my $headers = "./acelib/wh";
|
|
WriteMakefile(
|