openbsd-ports/textproc/rarian/patches/patch-librarian_rarian-main_c
jasper afb32e1faa - fix location of rarian.document
- PREFIX vs. LOCALBASE in a patch

prodded by ajacoutot@
2008-12-16 19:54:02 +00:00

13 lines
426 B
Plaintext

$OpenBSD: patch-librarian_rarian-main_c,v 1.2 2008/12/16 19:54:02 jasper Exp $
--- librarian/rarian-main.c.orig Sat Nov 22 17:04:05 2008
+++ librarian/rarian-main.c Sat Nov 22 17:04:19 2008
@@ -215,7 +215,7 @@ past:
path = getenv ("XDG_DATA_DIRS");
if (!path || !strcmp (path, "")) {
- path = "/usr/local/share/:/usr/share/";
+ path = "${LOCALBASE}/share:/usr/share/";
}
cur_path = path;