mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
34 lines
1014 B
Plaintext
34 lines
1014 B
Plaintext
$NetBSD: patch-aa,v 1.1.1.1 2004/06/22 21:34:51 adrianp Exp $
|
|
|
|
--- Makefile.PL.orig Sun Oct 5 07:40:46 2003
|
|
+++ Makefile.PL Thu Apr 15 18:35:06 2004
|
|
@@ -6,28 +6,9 @@
|
|
import SpeedyMake qw(%write_makefile_common);
|
|
}
|
|
|
|
-print <<END;
|
|
-
|
|
-Optional mod_speedycgi support.
|
|
-
|
|
-Mod_speedycgi increases performance under Apache by avoiding the fork/exec
|
|
-overhead associated with each request under normal SpeedyCGI. However, it
|
|
-requires a working copy of "apxs" in your path, Apache with mod_so
|
|
-support, and additional Apache configuration.
|
|
-
|
|
-END
|
|
-print "Compile mod_speedycgi (default no)? ";
|
|
-
|
|
my @dirs = qw(src speedy_backend speedy);
|
|
my $macro = $write_makefile_common{macro};
|
|
my $apache_module = 0;
|
|
-if (<STDIN> =~ /y/i) {
|
|
- die "ERROR: Command 'apxs -q CC' failed.\n"
|
|
- unless $macro->{APACHE_APXS_WORKS};
|
|
- print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
|
|
- push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
|
|
- $apache_module = 1;
|
|
-}
|
|
|
|
WriteMakefile(
|
|
NAME => 'CGI::SpeedyCGI',
|