mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: openrct2: Fix a few paths.
* gnu/packages/games.scm (openrct2): Fix a few paths.
This commit is contained in:
parent
9c43f432eb
commit
2e205c6193
1 changed files with 6 additions and 0 deletions
|
@ -2648,6 +2648,12 @@ (define-public openrct2
|
|||
`(#:tests? #f ;; no tests available
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-usr-share-paths
|
||||
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
||||
;; Fix some references to /usr/share.
|
||||
(substitute* "src/openrct2/platform/linux.c"
|
||||
(("/usr/share")
|
||||
(string-append (assoc-ref %outputs "out") "/share")))))
|
||||
(add-after 'build 'fix-cmake-install-file
|
||||
(lambda _
|
||||
;; The build system tries to download a file and compare hashes.
|
||||
|
|
Loading…
Reference in a new issue