--- local/snmpconf.orig	Sun Aug 21 10:23:23 2005
+++ local/snmpconf	Wed Nov 30 12:19:42 2005
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!%%PERL%% -w
 
 #
 # A simple configuration file builder based on questions listed in
@@ -31,7 +31,7 @@
   $opts{'c'} = &my_getenv("SNMPSHAREPATH") . "/snmpconf-data";
 }
 else {
-  $opts{'c'} = "/usr/local/share/snmp/snmpconf-data";
+  $opts{'c'} = "%%PREFIX%%/share/snmp/snmpconf-data";
 }
  
 # default config file path
@@ -39,7 +39,7 @@
   $confpath = &my_getenv("SNMPCONFPATH");
 }
 else {
-  $confpath = "/usr/local/share/snmp";
+  $confpath = "%%PREFIX%%/share/snmp";
 }
 
 # home environment variable
@@ -100,7 +100,7 @@
   $ENV_SEPARATOR = ';';
 }
 my @searchpath = split(/$ENV_SEPARATOR/, $confpath);
-push @searchpath, "/usr/local/etc/snmp";
+push @searchpath, "%%PREFIX%%/etc/snmp";
 push @searchpath, ".";
 push @searchpath, "$home";
 
