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:
Timotej Lazar 2020-10-02 11:12:41 +02:00 committed by Jonathan Brielmaier
parent e3c50e1385
commit 5d83bd2e98
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -214,16 +214,6 @@ development should opt for GLSL rather than Cg.")
'("multivoc.cpp" "xmp.cpp")))
#t))
(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
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))