mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
- explicitely not bumping port revision, as the package does not change for people who are using the defaults LOCALBASE=/usr/local -- no need to burden the package builders for this. PR: 225378 Submitted by: John Hein <jcfyecrayz@liamekaens.com>
20 lines
638 B
C
20 lines
638 B
C
--- glib/gutils.c.orig 2020-12-17 11:47:11 UTC
|
|
+++ glib/gutils.c
|
|
@@ -2500,7 +2500,7 @@ g_build_system_data_dirs (void)
|
|
*/
|
|
#ifndef G_OS_WIN32
|
|
if (!data_dirs || !data_dirs[0])
|
|
- data_dirs = "/usr/local/share/:/usr/share/";
|
|
+ data_dirs = "%%LOCALBASE%%/share/:/usr/share/";
|
|
|
|
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
|
|
#else
|
|
@@ -2594,7 +2594,7 @@ g_build_system_config_dirs (void)
|
|
}
|
|
#else
|
|
if (!conf_dirs || !conf_dirs[0])
|
|
- conf_dirs = "/etc/xdg";
|
|
+ conf_dirs = "%%LOCALBASE%%/etc/xdg:/etc/xdg";
|
|
|
|
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
|
|
#endif
|