gnu: crawl: Find all the included headers.

* gnu/packages/games.scm (crawl)[arguments]: Add a custom phase to
change the path for some headers.
This commit is contained in:
Efraim Flashner 2019-03-08 15:36:31 +02:00
parent b89284407f
commit 606c198788
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 0 deletions

View File

@ -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)