From owner-freebsd-ports Mon Jan 6 8:10: 9 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DADD37B401 for ; Mon, 6 Jan 2003 08:10:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A2443EC5 for ; Mon, 6 Jan 2003 08:10:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h06GA5NS009703 for ; Mon, 6 Jan 2003 08:10:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h06GA5fD009702; Mon, 6 Jan 2003 08:10:05 -0800 (PST) Date: Mon, 6 Jan 2003 08:10:05 -0800 (PST) Message-Id: <200301061610.h06GA5fD009702@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Lars Thegler" Subject: Re: ports/46723: Update www/p5-CGI-SpeedyCGI to 2.21 Reply-To: "Lars Thegler" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/46723; it has been noted by GNATS. From: "Lars Thegler" To: "Pete Fritchman" , 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 < =~ /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 ( =~ /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