From 606c19878867ada90e40a46cf18194a0e1408945 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 8 Mar 2019 15:36:31 +0200 Subject: 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 9468802ea2..0d50f55a75 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) -- cgit 1.4.1