aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-08-17 13:55:05 -0400
committerMark H Weaver <mhw@netris.org>2016-08-17 14:13:55 -0400
commitc437922a0d85a4749f3d2f64c8f061cfb0954043 (patch)
tree41b40a29ada01f06ebe494ad71e70ff48ef7c3f9 /gnu/packages/video.scm
parent6a9a336265359eaa136ed341a884912f98c85219 (diff)
downloadgnu-guix-c437922a0d85a4749f3d2f64c8f061cfb0954043.tar
gnu-guix-c437922a0d85a4749f3d2f64c8f061cfb0954043.tar.gz
gnu: aalib: Fix build on mips64el.
* gnu/packages/video.scm (aalib)[arguments]: On MIPS, pass "--host=mips64el-unknown-linux-gnu" to ./configure.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 471f97b111..98b7c41d9f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -104,7 +104,7 @@
(inputs
`(("ncurses" ,ncurses)))
(arguments
- '(#:phases
+ `(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key build inputs outputs #:allow-other-keys)
@@ -116,6 +116,12 @@
(zero? (system* "./configure"
(string-append "--prefix=" out)
(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="
ncurses)))))))))
(home-page "http://aa-project.sourceforge.net/aalib/")