summaryrefslogtreecommitdiff
path: root/net/p5-SNMP/patches/patch-ab
blob: ae9e87f4cc5d4543109f22c17d6dd9ddc3ae83d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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