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

View file

@ -4459,6 +4459,11 @@ (define-public crawl
(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)