gnu: aalib: Pass --build to configure.
* gnu/packages/video.scm (aalib)[arguments]: In configure phase, accept 'build' keyword argument and pass it to 'configure'.
This commit is contained in:
parent
a5e55dfbb7
commit
014cbde612
|
@ -97,7 +97,7 @@
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key build inputs outputs #:allow-other-keys)
|
||||||
;; This old `configure' script doesn't support
|
;; This old `configure' script doesn't support
|
||||||
;; variables passed as arguments.
|
;; variables passed as arguments.
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
@ -105,6 +105,7 @@
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(zero? (system* "./configure"
|
(zero? (system* "./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
|
(string-append "--build=" build)
|
||||||
(string-append "--with-ncurses="
|
(string-append "--with-ncurses="
|
||||||
ncurses)))))))))
|
ncurses)))))))))
|
||||||
(home-page "http://aa-project.sourceforge.net/aalib/")
|
(home-page "http://aa-project.sourceforge.net/aalib/")
|
||||||
|
|
Loading…
Reference in New Issue