Fixes for Apache2.

Submitted by:	maintainer
This commit is contained in:
Dmitry Sivachenko 2004-02-18 14:19:23 +00:00
parent 5335637bb7
commit c97ca69cfa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101324
4 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- bin/webmux.pl.in.orig Sat Feb 14 01:31:23 2004
+++ bin/webmux.pl.in Thu Dec 25 23:01:15 2003
@@ -32,6 +32,9 @@
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- bin/webmux.pl.in.orig Sat Feb 14 01:31:23 2004
+++ bin/webmux.pl.in Thu Dec 25 23:01:15 2003
@@ -32,6 +32,9 @@
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- bin/webmux.pl.in.orig Sat Feb 14 01:31:23 2004
+++ bin/webmux.pl.in Thu Dec 25 23:01:15 2003
@@ -32,6 +32,9 @@
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- bin/webmux.pl.in.orig Sat Feb 14 01:31:23 2004
+++ bin/webmux.pl.in Thu Dec 25 23:01:15 2003
@@ -32,6 +32,9 @@
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");