diff options
author | leeym <leeym@FreeBSD.org> | 2003-03-01 09:32:56 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-03-01 09:32:56 +0800 |
commit | 819a89df882f146d75db6c12b0d2bf01e539ea4e (patch) | |
tree | 67de6888f3de665da17d6312654fdfbfa05c1141 /www/p5-CGI-SpeedyCGI/files | |
parent | 301f51df03d9f0961bcc1217bbae062f16dfdb35 (diff) | |
download | freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.tar.gz freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.tar.zst freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.zip |
Update port www/p5-CGI-SpeedyCGI to version 2.21
disable installing mod_speedycgi.
PR: 46723
Submitted by: Lars Thegler <lars@thegler.dk>
Reviewed by: petef, tobez
Diffstat (limited to 'www/p5-CGI-SpeedyCGI/files')
-rw-r--r-- | www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL new file mode 100644 index 000000000000..6e9b42eee860 --- /dev/null +++ b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL @@ -0,0 +1,65 @@ +--- Makefile.PL.orig Sat Mar 1 09:16:07 2003 ++++ Makefile.PL Sat Mar 1 09:17:19 2003 +@@ -6,26 +6,26 @@ + 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)? "; ++#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}; +-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: |