guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: aalib: Fix build on mips64el.


From: Mark H. Weaver
Subject: 01/01: gnu: aalib: Fix build on mips64el.
Date: Wed, 17 Aug 2016 18:15:04 +0000 (UTC)

mhw pushed a commit to branch master
in repository guix.

commit c437922a0d85a4749f3d2f64c8f061cfb0954043
Author: Mark H Weaver <address@hidden>
Date:   Wed Aug 17 13:55:05 2016 -0400

    gnu: aalib: Fix build on mips64el.
    
    * gnu/packages/video.scm (aalib)[arguments]: On MIPS, pass
    "--host=mips64el-unknown-linux-gnu" to ./configure.
---
 gnu/packages/video.scm |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 471f97b..98b7c41 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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]