mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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 @@ (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)
|
||||
|
|
Loading…
Reference in a new issue