mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
ChangeLog: https://github.com/martanne/vis/blob/v0.9/CHANGELOG.md PR: 279689 Reported by: DtxdF@disroot.org (maintainer)
20 lines
471 B
C
20 lines
471 B
C
--- vis-lua.c.orig 2024-05-01 19:49:18 UTC
|
|
+++ vis-lua.c
|
|
@@ -27,7 +27,7 @@
|
|
#include "util.h"
|
|
|
|
#ifndef VIS_PATH
|
|
-#define VIS_PATH "/usr/local/share/vis"
|
|
+#define VIS_PATH "%%PREFIX%%/share/vis"
|
|
#endif
|
|
|
|
#define VIS_LUA_TYPE_VIS "vis"
|
|
@@ -3248,7 +3248,7 @@ void vis_lua_init(Vis *vis) {
|
|
home = pw->pw_dir;
|
|
}
|
|
|
|
- vis_lua_path_add(vis, "/etc/vis");
|
|
+ vis_lua_path_add(vis, "%%ETCDIR%%");
|
|
|
|
const char *xdg_config = getenv("XDG_CONFIG_HOME");
|
|
if (xdg_config) {
|