diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-10 13:40:41 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-10 13:40:41 +0000 |
commit | ef7f2d6bba55bb9fb1d0ff03420c07b0c048ee54 (patch) | |
tree | 952e0fb8a1543185f790d3580ff753f8799f1fe0 /net-mgmt/net-snmp-devel/files/patch-local:mib2c | |
parent | - Update MAINTAINER-line of my ports to new @FreeBSD.org address (diff) |
Various fixes / improvements.
See PR for details.
PR: ports/63759
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Notes
Notes:
svn path=/head/; revision=103525
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-local:mib2c')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-local:mib2c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-local:mib2c b/net-mgmt/net-snmp-devel/files/patch-local:mib2c new file mode 100644 index 000000000000..6609d77609c9 --- /dev/null +++ b/net-mgmt/net-snmp-devel/files/patch-local:mib2c @@ -0,0 +1,20 @@ +--- local/mib2c.orig Fri Nov 14 02:28:39 2003 ++++ local/mib2c Wed Feb 4 09:05:44 2004 +@@ -1,5 +1,4 @@ +-#!/usr/bin/perl +-#!/usr/bin/perl -w ++#!%%PERL%% + + # + # $Id: mib2c,v 5.36 2003/11/14 01:28:39 rstory Exp $ +@@ -56,8 +55,8 @@ + if($ENV{MIB2C_DIR}) { + push @def_search_dirs, $ENV{MIB2C_DIR}; + } +-push @def_search_dirs, "/usr/local/share/snmp/"; +- ++push @def_search_dirs, "%%PREFIX%%/share/snmp/"; ++push @def_search_dirs, "%%PREFIX%%/etc/snmp/"; + + sub usage { + print "$0 [-h] [-c configfile] [-f prefix] mibNode\n\n"; |