diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-06-20 08:41:24 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-06-20 08:41:24 +0000 |
commit | 74ff25024c6865874b71e35e79076e918898c1ba (patch) | |
tree | 984c8587ab6de7fa877502e7b92cc08fb6e4db3c /www/rt32/files | |
parent | Add WITH_MODPERL2 knob to build whis port with mod_perl2. (diff) |
Tidy up DEPENDS list;
Correct pkg-plist;
Fixes for Apache2 users.
PR: 53205
Submitted by: Tim Bishop <tim@bishnet.net>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=83346
Diffstat (limited to 'www/rt32/files')
-rw-r--r-- | www/rt32/files/ap2mp2-fix.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/rt32/files/ap2mp2-fix.pl b/www/rt32/files/ap2mp2-fix.pl new file mode 100644 index 000000000000..fb04960150c0 --- /dev/null +++ b/www/rt32/files/ap2mp2-fix.pl @@ -0,0 +1,10 @@ +# temp fix for mp2-09... make a dummy Apache->request +require Apache::RequestUtil; +no warnings 'redefine'; +my $sub = *Apache::request{CODE}; +*Apache::request = sub { + my $r; + eval { $r = $sub->('Apache'); }; + # warn $@ if $@; + return $r; +}; |