$NetBSD: patch-ad,v 1.2 2006/12/16 15:25:41 bouyer Exp $

--- netdisco_apache.conf.orig	2006-11-14 01:27:14.000000000 +0100
+++ netdisco_apache.conf	2006-12-06 22:08:24.000000000 +0100
@@ -14,8 +14,10 @@
 
 # Pool Database Connections
 PerlModule Apache::DBI
+@APACHE2@PerlModule CGI
+@APACHE2@PerlModule Apache2::Request
 
-<Directory /usr/local/netdisco/html>
+<Directory /usr/pkg/netdisco/html>
 	order allow,deny
 	allow from all
 </Directory>
@@ -24,12 +26,12 @@
 # Preload the netdisco module into global server space.
 #   and parse the config file only once.
 { package HTML::Mason::Commands;
-    use lib '/usr/local/netdisco';
+    use lib '/usr/pkg/netdisco';
     use netdisco qw/:all/;
-    &netdisco::config('/usr/local/netdisco/netdisco.conf');
+    &netdisco::config('/usr/pkg/netdisco/netdisco.conf');
 
     # Uncomment next two lines to setup switch reverse proxy.
-    #use lib '/usr/local/netdisco/switch';
+    #use lib '/usr/pkg/netdisco/switch';
     #use Apache::ProxyRewriteMax;
 }
 
