[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: linux-pam: Disable NIS when cross-compiling.
From: |
Ludovic Courtès |
Subject: |
01/04: gnu: linux-pam: Disable NIS when cross-compiling. |
Date: |
Tue, 11 Jul 2017 17:59:58 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ed8111ea7530b1c591af016dc8d247e52cd776eb
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 11 21:52:58 2017 +0200
gnu: linux-pam: Disable NIS when cross-compiling.
* gnu/packages/linux.scm (linux-pam)[arguments]: Pass "--disable-nis"
when cross-compiling.
---
gnu/packages/linux.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5c96056..c5fed1a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -426,11 +426,18 @@ It has been modified to remove all non-free binary
blobs.")
;; ("cracklib" ,cracklib)
))
(arguments
- '(;; Most users, such as `shadow', expect the headers to be under
+ `(;; Most users, such as `shadow', expect the headers to be under
;; `security'.
#:configure-flags (list (string-append "--includedir="
(assoc-ref %outputs "out")
- "/include/security"))
+ "/include/security")
+
+ ;; XXX: <rpc/rpc.h> is missing from glibc when
+ ;; cross-compiling, so we have to disable NIS
+ ;; support altogether.
+ ,@(if (%current-target-system)
+ '("--disable-nis")
+ '()))
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
;; isn't available.