mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,7 @@ (define-public aalib
|
||||||
'(#: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 @@ (define-public aalib
|
||||||
(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 a new issue