mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -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
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(lambda* (#:key build inputs outputs #:allow-other-keys)
|
||||
;; This old `configure' script doesn't support
|
||||
;; variables passed as arguments.
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
@ -105,6 +105,7 @@ (define-public aalib
|
|||
(setenv "CONFIG_SHELL" (which "bash"))
|
||||
(zero? (system* "./configure"
|
||||
(string-append "--prefix=" out)
|
||||
(string-append "--build=" build)
|
||||
(string-append "--with-ncurses="
|
||||
ncurses)))))))))
|
||||
(home-page "http://aa-project.sourceforge.net/aalib/")
|
||||
|
|
Loading…
Reference in a new issue