[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: aalib: Pass --build to configure.
From: |
Mark H. Weaver |
Subject: |
01/01: gnu: aalib: Pass --build to configure. |
Date: |
Sat, 08 Aug 2015 04:02:02 +0000 |
mhw pushed a commit to branch master
in repository guix.
commit 014cbde612f89bc9101e6932f64113415230e9f9
Author: Mark H Weaver <address@hidden>
Date: Fri Aug 7 23:57:08 2015 -0400
gnu: aalib: Pass --build to configure.
* gnu/packages/video.scm (aalib)[arguments]: In configure phase, accept
'build' keyword argument and pass it to 'configure'.
---
gnu/packages/video.scm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index c57c6c6..e7fbd67 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -97,7 +97,7 @@
'(#: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 @@
(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/")