aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL')
-rw-r--r--www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL43
1 files changed, 8 insertions, 35 deletions
diff --git a/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
index 6e9b42eee860..95e57d578486 100644
--- a/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
+++ b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
@@ -1,6 +1,6 @@
---- Makefile.PL.orig Sat Mar 1 09:16:07 2003
-+++ Makefile.PL Sat Mar 1 09:17:19 2003
-@@ -6,26 +6,26 @@
+--- Makefile.PL.orig Sat Oct 18 12:27:13 2003
++++ Makefile.PL Sat Oct 18 12:28:18 2003
+@@ -6,22 +6,23 @@
import SpeedyMake qw(%write_makefile_common);
}
@@ -29,37 +29,10 @@
my @dirs = qw(src speedy_backend speedy);
my $macro = $write_makefile_common{macro};
+ my $apache_module = 0;
-if (<STDIN> =~ /y/i) {
-- die "ERROR: Could not find a working copy of 'apxs' in your path.\n"
-- unless $macro->{APACHE_APXS_WORKS};
-- print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
-- push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
--}
+#if (<STDIN> =~ /y/i) {
-+# die "ERROR: Could not find a working copy of 'apxs' in your path.\n"
-+# unless $macro->{APACHE_APXS_WORKS};
-+# print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
-+# push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
-+#}
-
- WriteMakefile(
- NAME => 'CGI::SpeedyCGI',
-@@ -47,12 +47,12 @@
- sub postamble {
- my $extra = SpeedyMake->optdefs_cmds('src');
- my $test_install_extra;
-- if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) {
-- $extra .=
-- "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n";
-- $test_install_extra =
-- "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n";
-- }
-+# if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) {
-+# $extra .=
-+# "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n";
-+# $test_install_extra =
-+# "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n";
-+# }
-
- '
- test_install:
++unless ($ENV{WITHOUT_APACHE}) {
+ die "ERROR: Command 'apxs -q CC' failed.\n"
+ unless $macro->{APACHE_APXS_WORKS};
+ print "Compiling for Apache version $macro->{APACHE_VERSION}\n";