guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: openrct2: Fix a few paths.


From: Jelle Licht
Subject: 01/01: gnu: openrct2: Fix a few paths.
Date: Thu, 26 Oct 2017 14:08:11 -0400 (EDT)

jlicht pushed a commit to branch master
in repository guix.

commit 2e205c61933433324ec47ce5be630e0aef0cb385
Author: Rutger Helling <address@hidden>
Date:   Sat Oct 21 10:33:30 2017 +0200

    gnu: openrct2: Fix a few paths.
    
    * gnu/packages/games.scm (openrct2): Fix a few paths.
---
 gnu/packages/games.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 61eed39..896d534 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2648,6 +2648,12 @@ Transport Tycoon Deluxe.")
      `(#: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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]