[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: crawl: Find all the included headers.
From: |
guix-commits |
Subject: |
03/03: gnu: crawl: Find all the included headers. |
Date: |
Fri, 8 Mar 2019 10:22:58 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 606c19878867ada90e40a46cf18194a0e1408945
Author: Efraim Flashner <address@hidden>
Date: Fri Mar 8 15:36:31 2019 +0200
gnu: crawl: Find all the included headers.
* gnu/packages/games.scm (crawl)[arguments]: Add a custom phase to
change the path for some headers.
---
gnu/packages/games.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9468802..0d50f55 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4459,6 +4459,11 @@ fish. The whole game is accompanied by quiet,
comforting music.")
(substitute* "source/Makefile"
(("-mfpmath=sse -msse2") ""))
#t))
+ (add-after 'unpack 'find-SDL-image
+ (lambda _
+ (substitute* "source/windowmanager-sdl.cc"
+ (("SDL_image.h") "SDL2/SDL_image.h"))
+ #t))
(delete 'configure)
(replace 'check
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)