$NetBSD: patch-doc_nanorc.5,v 1.2 2021/02/27 19:26:28 schwarz Exp $ * Fix hard-coded pathes. --- doc/nanorc.5.orig 2021-02-24 10:56:32.000000000 +0100 +++ doc/nanorc.5 2021-02-27 20:12:41.000000000 +0100 @@ -25,7 +25,7 @@ The \fInanorc\fP files contain the default settings for \fBnano\fP, a small and friendly editor. During startup, if \fB\-\-rcfile\fR is not given, \fBnano\fR will read two files: first the -system-wide settings, from \fI/etc/nanorc\fP (the exact path might be +system-wide settings, from \fI@PKG_SYSCONFDIR@/nanorc\fP (the exact path might be different on your system), and then the user-specific settings, either from \fI~/.nanorc\fR or from \fI$XDG_CONFIG_HOME/nano/nanorc\fR or from \fI~/.config/nano/nanorc\fR, whichever is encountered first. @@ -997,13 +997,13 @@ .SH FILES .TP -.I /etc/nanorc +.I @PKG_SYSCONFDIR@/nanorc System-wide configuration file. .TP .IR ~/.nanorc " or " $XDG_CONFIG_HOME/nano/nanorc " or " ~/.config/nano/nanorc Per-user configuration file. .TP -.I /usr/share/nano/* +.I @PREFIX@/share/nano/* Syntax definitions for the syntax coloring of common file types (and for less common file types in the \fIextra/\fR subdirectory).