[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: coreutils: Drop dependency on libcap when cross-compiling.
From: |
Ludovic Courtès |
Subject: |
01/09: gnu: coreutils: Drop dependency on libcap when cross-compiling. |
Date: |
Fri, 04 Sep 2015 11:52:04 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit 62ea8865257a156625554dfd1e0418dc220e3c20
Author: Ludovic Courtès <address@hidden>
Date: Fri Sep 4 11:56:51 2015 +0200
gnu: coreutils: Drop dependency on libcap when cross-compiling.
* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP
when (%current-target-system) is true.
---
gnu/packages/base.scm | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index f043f82..00571a8 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -249,7 +249,12 @@ used to apply commands with arbitrarily long arguments.")
(build-system gnu-build-system)
(inputs `(("acl" ,acl) ; TODO: add SELinux
("gmp" ,gmp) ;bignums in 'expr', yay!
- ("libcap" ,libcap))) ;capability support is 'ls','dir', 'vdir'
+
+ ;; Drop the dependency on libcap when cross-compiling since it's
+ ;; not quite cross-compilable.
+ ,@(if (%current-target-system)
+ '()
+ `(("libcap" ,libcap))))) ;capability support is 'ls', etc.
(native-inputs
;; Perl is needed to run tests in native builds, and to run the bundled
;; copy of help2man. However, don't pass it when cross-compiling since
- branch core-updates updated (92226a4 -> 21a8fe1), Ludovic Courtès, 2015/09/04
- 01/09: gnu: coreutils: Drop dependency on libcap when cross-compiling.,
Ludovic Courtès <=
- 02/09: gnu: acl: Remove explicit 'sed' dependency., Ludovic Courtès, 2015/09/04
- 04/09: gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd., Ludovic Courtès, 2015/09/04
- 06/09: gnu: hurd: Add flex as an input to mig., Ludovic Courtès, 2015/09/04
- 07/09: gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static., Ludovic Courtès, 2015/09/04
- 05/09: gnu: acl: Fix i686-gnu build., Ludovic Courtès, 2015/09/04
- 08/09: packages: Define '%hurd-systems'., Ludovic Courtès, 2015/09/04
- 03/09: gnu: bootstrap: Add the location of ld.so on GNU/Hurd., Ludovic Courtès, 2015/09/04
- 09/09: gnu: base: Add glibc-hurd and hurd-minimal., Ludovic Courtès, 2015/09/04