summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-local:mib2c
blob: a0a2ce336f860f4ffcb144714ea29f353f89cac8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- local/mib2c.orig	Fri Sep 10 21:30:15 2004
+++ local/mib2c	Mon Oct 25 08:38:30 2004
@@ -1,5 +1,4 @@
-#!/usr/bin/perl
-#!/usr/bin/perl -w
+#!%%PERL%%
 
 #
 # $Id: mib2c,v 5.57 2004/09/10 12:30:15 dts12 Exp $
@@ -60,8 +59,9 @@
 if($ENV{MIB2C_DIR}) {
    push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR});
 }
-push @def_search_dirs, "/usr/local/share/snmp/";
-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data";
+push @def_search_dirs, "%%PREFIX%%/share/snmp/";
+push @def_search_dirs, "%%PREFIX%%/etc/snmp/";
+push @def_search_dirs, "%%PREFIX%%/share/snmp/mib2c-data";
 push @def_search_dirs, "./mib2c-conf.d";
 
 sub usage {