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:
parent
b89284407f
commit
606c198788
1 changed files with 5 additions and 0 deletions
|
@ -4459,6 +4459,11 @@ fish. The whole game is accompanied by quiet, comforting music.")
|
||||||
(substitute* "source/Makefile"
|
(substitute* "source/Makefile"
|
||||||
(("-mfpmath=sse -msse2") ""))
|
(("-mfpmath=sse -msse2") ""))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'unpack 'find-SDL-image
|
||||||
|
(lambda _
|
||||||
|
(substitute* "source/windowmanager-sdl.cc"
|
||||||
|
(("SDL_image.h") "SDL2/SDL_image.h"))
|
||||||
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
||||||
|
|
Reference in a new issue