me
/
guix
Archived
1
0
Fork 0

gnu: openttd-engine: Use INVOKE.

* gnu/packages/games.scm (openttd-engine)[arguments]: Use INVOKE in configure
phase.
master
Ricardo Wurmus 2019-01-26 21:57:38 +01:00
parent db2badeb91
commit 369a91d931
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 9 deletions

View File

@ -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)