default datadir does not obey the PREFIX makeflag. #40140
Closed
Description
Describe the bug
binary of the latest stable release looks for the game data under /usr/share/cataclysm-dda
even if PREFIX
is set to something other than /usr
during make.
Steps To Reproduce
- build and install with:
make ZLEVELS=1 RELEASE=1 LOCALIZE=0 BACKTRACE=0 USE_XDG_DIR=1 PREFIX="/opt/cataclysm-dda-0.e"
- simply run the
catacylsm
under$PREFIX/bin/
.
Expected behavior
for the game to look under $(PREFIX)/share/catacylsm-dda
instead of /usr/share/catacylsm-dda
by default.
Versions and configuration
- OS: x86_64 musl linux host
- Game Version: 0.E (source obtained from here)
- Graphics version: ncurses
- Ingame language: english but not relevant
- Mods loaded: none
Metadata
Assignees
Labels
No labels