Subject: [bug#29601] [PATCH] gnu: openrct2: Always install libraries to /lib.

From: Rutger Helling <[email-masked]>
Date: Thu, 07 Dec 2017 09:02:14 +0100

Here's a patch that forces openrct2 to install it's libraries in /lib
(and not /lib64 as in some cases).

From a99728bd1e612d9e6dcd5f75adca3a463b91ad5f Mon Sep 17 00:00:00 2001
From: Rutger Helling <[email-masked]>
Date: Thu, 7 Dec 2017 08:55:52 +0100
Subject: [PATCH] gnu: openrct2: Always install libraries to /lib.

* gnu/packages/games.scm (openrct2)[arguments]: Add #:configure-flags argument
to force installing libraries to /lib.
---
 gnu/packages/games.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a699fadc2..524572b99 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2731,6 +2731,9 @@ Transport Tycoon Deluxe.")
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f ;; no tests available
+       #:configure-flags
+        (list (string-append "-DCMAKE_INSTALL_LIBDIR="
+                       (assoc-ref %outputs "out") "/lib"))
        #:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'fix-usr-share-paths
-- 
2.15.1