diff options
author | Will Andrews <will@FreeBSD.org> | 2001-01-01 08:28:28 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-01-01 08:28:28 +0000 |
commit | da414b19266a37478874f76e4e2c0e474af70169 (patch) | |
tree | c52343d56926aed592f3ce395cd6481f22a92be1 /www/p5-Apache-AuthCookie/files | |
parent | b82d76b58c65a467468485555a79e10868008a2b (diff) | |
download | ports-da414b19266a37478874f76e4e2c0e474af70169.tar.gz ports-da414b19266a37478874f76e4e2c0e474af70169.zip |
Notes
Diffstat (limited to 'www/p5-Apache-AuthCookie/files')
-rw-r--r-- | www/p5-Apache-AuthCookie/files/patch-Makefile.PL | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/www/p5-Apache-AuthCookie/files/patch-Makefile.PL b/www/p5-Apache-AuthCookie/files/patch-Makefile.PL new file mode 100644 index 000000000000..8bb7a67c0794 --- /dev/null +++ b/www/p5-Apache-AuthCookie/files/patch-Makefile.PL @@ -0,0 +1,33 @@ +--- Makefile.PL Sat Apr 15 10:15:32 2000 ++++ Makefile.PL.new Mon Jan 1 02:51:49 2001 +@@ -4,14 +4,20 @@ + + my $default = $ENV{'APACHE'} || '/usr/lib/httpd/httpd'; + $|=1; ++if ("" ne "") { + print("\nFor testing purposes, please give the full path to an httpd\n", + "with mod_perl and at least the following hooks enabled: PERL_AUTHEN,\n", + "PERL_AUTHZ, PERL_STACKED_HANDLERS, PERL_METHOD_HANDLERS.\n", + "The path defaults to \$ENV{APACHE}, if present.\n", + ); +- ++} + my %conf; ++$conf{httpd} = "/usr/local/sbin/apache"; $conf{httpd} = $ENV{'APACHE'} if ($ENV{'APACHE'} ne ""); ++$conf{user} = "nobody"; $conf{user} = $ENV{'TESTUSER'} if ($ENV{'TESTUSER'} ne ""); ++$conf{group} = "nobody"; $conf{group} = $ENV{'TESTGRP'} if ($ENV{'TESTGRP'} ne ""); ++$conf{port} = 8228; $conf{port} = $ENV{'TESTPORT'} if ($ENV{'TESTPORT'} ne ""); + ++if ("" ne "") { + do { + print "\n [$default]: "; + chomp ($conf{httpd} = <STDIN>); +@@ -32,7 +38,7 @@ + print "Port to run tests under [$default]: "; + chomp ($conf{port} = <STDIN>); + $conf{port} ||= $default; +- ++} + + open LOC, ">t/httpd.loc" or die "can't write t/httpd.loc: $!"; + print LOC map {"$_=$conf{$_}\n"} keys %conf; |