gnu: openttd-engine: Use INVOKE.
* gnu/packages/games.scm (openttd-engine)[arguments]: Use INVOKE in configure phase.
This commit is contained in:
parent
db2badeb91
commit
369a91d931
|
@ -2346,15 +2346,14 @@ world}, @uref{http://evolonline.org, Evol Online} and
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(lzo (assoc-ref inputs "lzo")))
|
(lzo (assoc-ref inputs "lzo")))
|
||||||
(zero?
|
(apply invoke "./configure"
|
||||||
(apply system* "./configure"
|
(string-append "--prefix=" out)
|
||||||
(string-append "--prefix=" out)
|
;; Provide the "lzo" path.
|
||||||
;; Provide the "lzo" path.
|
(string-append "--with-liblzo2="
|
||||||
(string-append "--with-liblzo2="
|
lzo "/lib/liblzo2.a")
|
||||||
lzo "/lib/liblzo2.a")
|
;; Put the binary in 'bin' instead of 'games'.
|
||||||
;; Put the binary in 'bin' instead of 'games'.
|
"--binary-dir=bin"
|
||||||
"--binary-dir=bin"
|
configure-flags)))))))
|
||||||
configure-flags))))))))
|
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("allegro" ,allegro)
|
`(("allegro" ,allegro)
|
||||||
|
|
Loading…
Reference in New Issue