mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: wesnoth: Remove obsolete workaround.
* gnu/packages/games.scm (wesnoth)[arguments]: Remove #:phases.
This commit is contained in:
parent
11a5ffba73
commit
53402d437c
1 changed files with 1 additions and 14 deletions
|
@ -2665,20 +2665,7 @@ falling, themeable graphics and sounds, and replays.")
|
||||||
"1i8mz6gw3qar09bscczhki0g4scj8pl58v85rp0g55r4bcq41l5v"))))
|
"1i8mz6gw3qar09bscczhki0g4scj8pl58v85rp0g55r4bcq41l5v"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no check target
|
`(#: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))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
|
|
Loading…
Reference in a new issue