openbsd-ports/www/p5-CGI-SpeedyCGI/patches/patch-Makefile_PL
2003-10-31 10:23:43 +00:00

19 lines
689 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.2 2003/10/31 10:23:47 kevlo Exp $
--- Makefile.PL.orig 2003-10-05 06:40:46.000000000 +0000
+++ Makefile.PL 2003-10-31 11:14:26.000000000 +0000
@@ -16,12 +16,12 @@ requires a working copy of "apxs" in you
support, and additional Apache configuration.
END
-print "Compile mod_speedycgi (default no)? ";
+#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) {
+if (1) {
die "ERROR: Command 'apxs -q CC' failed.\n"
unless $macro->{APACHE_APXS_WORKS};
print "Compiling for Apache version $macro->{APACHE_VERSION}\n";