summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLibravatar sghctoma <sghctoma@gmail.com>2018-10-17 15:06:55 +0200
committerLibravatar sghctoma <sghctoma@gmail.com>2018-10-17 15:28:18 +0200
commitaf2cfa52211d59ecfb6e3ccd9be4c7ccbd920268 (patch)
tree2dbac738bd437d5f5fd81734494f87397da3debb /common
parentIncrease _POSIX_C_SOURCE to 200112L (diff)
downloadsway-af2cfa52211d59ecfb6e3ccd9be4c7ccbd920268.tar.gz
sway-af2cfa52211d59ecfb6e3ccd9be4c7ccbd920268.tar.zst
sway-af2cfa52211d59ecfb6e3ccd9be4c7ccbd920268.zip
Set sysconfdir to /etc only if prefix is /usr
PR #2855 basically hardcodes the config file path to /etc, which is a problem on e.g. FreeBSD, where the expected path for config files of non-base software is '/usr/local/etc'. Meson sets sysconfdir to '/etc' explicitly only when prefix is '/usr', so it is still possible to use '/usr/local' as prefix, and install the config files under '/usr/local/etc'. This commit allows to do that by setting sysconfdir based on the value of prefix.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions