Skip to content

default datadir does not obey the PREFIX makeflag. #40140

Closed
@gottaeat

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

  1. build and install with:
    make ZLEVELS=1 RELEASE=1 LOCALIZE=0 BACKTRACE=0 USE_XDG_DIR=1 PREFIX="/opt/cataclysm-dda-0.e"
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions