guix-commits
[Top][All Lists]
Advanced

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

16/16: gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change.


From: guix-commits
Subject: 16/16: gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change.
Date: Sat, 14 Mar 2020 07:03:57 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 7cf79d7a51ff5dde4fc430fab2296b5f7de08953
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Mar 14 12:01:23 2020 +0100

    gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change.
    
    * gnu/packages/games.scm (kiki)[arguments]: Prepend to CPLUS_INCLUDE_PATH
    instead of overriding it.
---
 gnu/packages/games.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 43199d2..224ab7f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4525,7 +4525,8 @@ over 100 user-created campaigns.")
                      (string-append (assoc-ref inputs "sdl-union")
                                     "/include/SDL:"
                                     (assoc-ref inputs "python")
-                                    "/include/python2.7"))
+                                    "/include/python2.7:"
+                                    (or (getenv "CPLUS_INCLUDE_PATH") "")))
              (substitute* "src/main/main.cpp"
                (("#include <SDL.h>" line)
                 (string-append line "



reply via email to

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