$NetBSD: patch-ae,v 1.1 2005/11/03 05:21:18 taca Exp $ --- bin/rd2.orig 2005-10-26 20:20:49.000000000 +0900 +++ bin/rd2 @@ -66,6 +66,7 @@ output_file = nil output_index = nil out_code = nil from_rdo = nil +sysconf = "@PKG_SYSCONFDIR@/dot.rd2rc" # user option $DEFAULT_FORMAT_LIB = "rd/rd2html-lib" @@ -76,10 +77,10 @@ begin load "~/.rd2rc" # STDERR << "#{$0}: loading ~/.rd2rc\n" else - load "rd/dot.rd2rc" + load sysconf # STDERR << "#{$0}: loading rd/dot.rd2rc\n" end -rescue +rescue StandardError, LoadError load "rd/dot.rd2rc" end