gnu: wesnoth: Remove obsolete workaround.

* gnu/packages/games.scm (wesnoth)[arguments]: Remove #:phases.
This commit is contained in:
Marius Bakke 2020-03-13 20:14:42 +01:00
parent 11a5ffba73
commit 53402d437c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2665,20 +2665,7 @@ (define-public wesnoth
"1i8mz6gw3qar09bscczhki0g4scj8pl58v85rp0g55r4bcq41l5v"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no check target
#:phases (modify-phases %standard-phases
(add-before 'configure 'treat-boost-as-system-header
(lambda* (#:key inputs #:allow-other-keys)
(let ((boost (assoc-ref inputs "boost")))
;; Ensure Boost is treated as "system headers" to
;; pacify compiler warnings induced by Boost headers.
(for-each (lambda (variable)
(setenv variable
(string-append boost "/include:"
(or (getenv variable)
""))))
'("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))
#t))))))
`(#:tests? #f)) ;no check target
(native-inputs
`(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))