diff options
author | Mark H Weaver <mhw@netris.org> | 2014-08-20 12:13:44 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-08-20 12:16:13 -0400 |
commit | c3114b756760ddb73054a4bc3d5eff0bfe47c4de (patch) | |
tree | c0d849ae59187a2c4ff9daf0e8f515ffa4161ce4 /gnu/packages/libffi.scm | |
parent | 06a70dbec116efaf70ee29341921197496b06139 (diff) | |
download | patches-c3114b756760ddb73054a4bc3d5eff0bfe47c4de.tar patches-c3114b756760ddb73054a4bc3d5eff0bfe47c4de.tar.gz |
gnu: Add 'file' as a native-input on MIPS for some packages.
* gnu/packages/admin.scm (sudo):
gnu/packages/gawk.scm (gawk): Add 'file' as a native input on MIPS.
Remove earlier workaround on MIPS.
* gnu/packages/libffi.scm (libffi):
gnu/packages/bdw-gc.scm (libatomic-ops, libgc): Add 'file' as a
native input on MIPS.
Diffstat (limited to 'gnu/packages/libffi.scm')
-rw-r--r-- | gnu/packages/libffi.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index 33e10d6fc2..067838f8e2 100644 --- a/gnu/packages/libffi.scm +++ b/gnu/packages/libffi.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,6 +19,7 @@ (define-module (gnu packages libffi) #:use-module (gnu packages) + #:use-module (gnu packages file) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) @@ -43,6 +45,12 @@ (base32 "1sznmrhcswwbyqla9y2ximlkzbxks59wjfs3lh7qf8ayranyxzlp")))) (build-system gnu-build-system) + (native-inputs + `(;; 'file' is needed by the pre-release libtool on MIPS. + ,@(if (equal? "mips64el-linux" (or (%current-target-system) + (%current-system))) + `(("file" ,file)) + '()))) (arguments `(#:phases (alist-cons-after 'install 'post-install ,post-install-phase %standard-phases))) |