gnu: aalib: Fix build on mips64el.
* gnu/packages/video.scm (aalib)[arguments]: On MIPS, pass "--host=mips64el-unknown-linux-gnu" to ./configure.
This commit is contained in:
parent
6a9a336265
commit
c437922a0d
|
@ -104,7 +104,7 @@
|
||||||
(inputs
|
(inputs
|
||||||
`(("ncurses" ,ncurses)))
|
`(("ncurses" ,ncurses)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key build inputs outputs #:allow-other-keys)
|
(lambda* (#:key build inputs outputs #:allow-other-keys)
|
||||||
|
@ -116,6 +116,12 @@
|
||||||
(zero? (system* "./configure"
|
(zero? (system* "./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "--build=" build)
|
(string-append "--build=" build)
|
||||||
|
;; The ancient config.guess is unable to
|
||||||
|
;; guess the host triplet on mips64el.
|
||||||
|
,@(if (string=? "mips64el-linux"
|
||||||
|
(%current-system))
|
||||||
|
'("--host=mips64el-unknown-linux-gnu")
|
||||||
|
'())
|
||||||
(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