mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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
This commit is contained in:
parent
8b9e10eb71
commit
b5dddf1b61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76679
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= CGI-SpeedyCGI
|
||||
PORTVERSION= 2.11
|
||||
PORTVERSION= 2.21
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= CGI
|
||||
|
@ -1 +1 @@
|
||||
MD5 (CGI-SpeedyCGI-2.11.tar.gz) = fce7ed7417d8d4166f5e7b54bfbcac13
|
||||
MD5 (CGI-SpeedyCGI-2.21.tar.gz) = ff43eaa899c5ff38f208ed692ab12bb4
|
||||
|
65
www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
Normal file
65
www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user