diff options
Diffstat (limited to 'net-mgmt/cricket/files/patch-ad')
-rw-r--r-- | net-mgmt/cricket/files/patch-ad | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-mgmt/cricket/files/patch-ad b/net-mgmt/cricket/files/patch-ad new file mode 100644 index 000000000000..886df19252f5 --- /dev/null +++ b/net-mgmt/cricket/files/patch-ad @@ -0,0 +1,31 @@ +*** util/listInterfaces.orig Mon Jul 19 19:55:45 1999 +--- util/listInterfaces Sun Feb 13 20:48:15 2000 +*************** +*** 1,4 **** +! #!/usr/local/bin/perl -w + # -*- perl -*- + + # Cricket: a configuration, polling and data display wrapper for RRD files +--- 1,4 ---- +! #!%%PATHPERLBIN%% -w + # -*- perl -*- + + # Cricket: a configuration, polling and data display wrapper for RRD files +*************** +*** 20,26 **** + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + BEGIN { +! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; + } + + use lib "$gInstallRoot/lib"; +--- 20,27 ---- + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + BEGIN { +! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; +! $gInstallRoot = '%%PREFIX%%/cricket'; + } + + use lib "$gInstallRoot/lib"; |