gnu: tome4: Clean up snippet.
* gnu/packages/games.scm (tome4)[source](snippet): Use a single 'substitute*' call instead of 'for-each'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
baa6b77789
commit
53ac6977ac
|
@ -4633,12 +4633,10 @@ Crowther & Woods, its original authors, in 1995. It has been known as
|
||||||
"0v2qgdfpvdzd1bcbp9v8pfahj1bgczsq2d4xfhh5wg11jgjcwz03"))
|
"0v2qgdfpvdzd1bcbp9v8pfahj1bgczsq2d4xfhh5wg11jgjcwz03"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(for-each (lambda (file)
|
'(substitute* '("src/music.h" "src/tSDL.h")
|
||||||
(substitute* file
|
(("#elif defined(__FreeBSD__)" line)
|
||||||
(("#elif defined(__FreeBSD__)" line)
|
(string-append
|
||||||
(string-append
|
line " || defined(__GNUC__)"))))))
|
||||||
line " || defined(__GNUC__)"))))
|
|
||||||
'("src/music.h" "src/tSDL.h")))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip)))
|
||||||
|
|
Loading…
Reference in New Issue