--- lib/File/BaseDir.pm.orig 2021-07-08 13:04:16.000000000 -0700 +++ lib/File/BaseDir.pm 2022-03-17 18:17:25.000000000 -0700 @@ -46,7 +46,9 @@ sub xdg_data_dirs { ( $ENV{XDG_DATA_DIRS} ? _adapt($ENV{XDG_DATA_DIRS}) - : (File::Spec->catdir(_rootdir(), qw/usr local share/), File::Spec->catdir(_rootdir(), qw/usr share/)) + : (File::Spec->catdir(_rootdir(), qw/@@MP_PREFIX_WORDS@@ share/), + File::Spec->catdir(_rootdir(), qw/usr local share/), + File::Spec->catdir(_rootdir(), qw/usr share/)) ) } @@ -55,7 +57,8 @@ sub xdg_config_dirs { ( $ENV{XDG_CONFIG_DIRS} ? _adapt($ENV{XDG_CONFIG_DIRS}) - : File::Spec->catdir(_rootdir(), qw/etc xdg/) + : (File::Spec->catdir(_rootdir(), qw/@@MP_PREFIX_WORDS@@ etc xdg/), + File::Spec->catdir(_rootdir(), qw/etc xdg/)) ) } @@ -265,7 +268,7 @@ my @dirs = $bd->xdg_data_dirs; Returns either C<$ENV{XDG_DATA_DIRS}> or it's default value as list. -Default is F, F. +Default is F<@@MP_PREFIX_PATH@@/share>, F, F. =head2 xdg_config_home @@ -283,7 +286,7 @@ my @dirs = $bd->xdg_config_dirs; Returns either C<$ENV{XDG_CONFIG_DIRS}> or it's default value as list. -Default is F. +Default is F<@@MP_PREFIX_PATH@@/etc/xdg>, F. =head2 xdg_cache_home