mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 15:24:52 +01:00
nongnu: eduke32: Remove unnecessary phase.
Since commit 2073b55, Guix uses CPLUS_INCLUDE_PATH to find system headers. Overriding this variable caused a compile failure. The package builds fine without it, so just drop it. * nongnu/packages/game-development.scm (eduke32)[arguments]: Drop ‘set-sdl-paths’ phase. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
e3c50e1385
commit
5d83bd2e98
1 changed files with 0 additions and 10 deletions
|
@ -214,16 +214,6 @@ development should opt for GLSL rather than Cg.")
|
||||||
'("multivoc.cpp" "xmp.cpp")))
|
'("multivoc.cpp" "xmp.cpp")))
|
||||||
#t))
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'set-paths 'set-sdl-paths
|
|
||||||
;; The makefile adds the output of `sdl2-config --cflags` to the
|
|
||||||
;; compiler flags, but sdl2-config gives us the wrong directory to
|
|
||||||
;; include. We have to add the SDL2 header directory ourselves.
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(pk (assoc-ref inputs "sdl-union"))
|
|
||||||
(setenv "CPLUS_INCLUDE_PATH"
|
|
||||||
(string-append (assoc-ref inputs "sdl-union")
|
|
||||||
"/include/SDL2"))
|
|
||||||
#t))
|
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue