$NetBSD: patch-ab,v 1.1 2001/01/30 22:03:39 wrstuden Exp $ --- t/mibload.t.orig Mon Jan 29 10:19:18 2001 +++ t/mibload.t Mon Jan 29 10:24:02 2001 @@ -33,9 +33,9 @@ @mibdir = ("/usr/mibs"); @mibfile = ("/usr/mibs/IPV6-TCP-MIB.txt", "/usr/mibs/snmp-proxy-mib.txt"); } else { - $mibfile1 = "/usr/local/share/snmp/mibs/TCP-MIB.txt"; - @mibdir = ('/usr/local/share/snmp/mibs/'); - @mibfile = ('/usr/local/share/snmp/mibs/IPV6-TCP-MIB.txt'); + $mibfile1 = "$ENV{'PREFIX'}/share/snmp/mibs/TCP-MIB.txt"; + @mibdir = ("$ENV{'PREFIX'}/share/snmp/mibs/"); + @mibfile = ("$ENV{'PREFIX'}/share/snmp/mibs/IPV6-TCP-MIB.txt"); } ###################################################################### # See if we can find a mib to use, return of 0 means the file wasn't