Date: Mon, 6 Jan 2003 08:10:05 -0800 (PST) From: "Lars Thegler" <lars@thegler.dk> To: freebsd-ports@FreeBSD.org Subject: Re: ports/46723: Update www/p5-CGI-SpeedyCGI to 2.21 Message-ID: <200301061610.h06GA5fD009702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/46723; it has been noted by GNATS. From: "Lars Thegler" <lars@thegler.dk> To: "Pete Fritchman" <petef@FreeBSD.org>, <FreeBSD-gnats-submit@FreeBSD.org> Cc: Subject: Re: ports/46723: Update www/p5-CGI-SpeedyCGI to 2.21 Date: Mon, 6 Jan 2003 17:09:39 +0100 You've got a very valid point there. Sorry I missed this. It seems there is an error in the distribution - it will attempt to install mod_speedycgi, irrepective of the answer given in the configuration dialogue. I've reported this to the author. I've disabled the mod_speedycgi stuff in the Makefile.PL - this should be a separate port anyway (e.g. "www/mod_speedycgi"), so the following patch file should be added to the port: -- files/patch-Makefile.PL begin -- --- Makefile.PL.orig Wed Sep 18 08:21:06 2002 +++ Makefile.PL Mon Jan 6 15:51:55 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: -- files/patch-Makefile.PL end -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301061610.h06GA5fD009702>