[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: libdaemon: Cross-build with --localstatedir=/var.
From: |
guix-commits |
Subject: |
01/02: gnu: libdaemon: Cross-build with --localstatedir=/var. |
Date: |
Wed, 8 Apr 2020 09:36:36 -0400 (EDT) |
civodul pushed a commit to branch wip-hurd-vm
in repository guix.
commit d8aa53c84115e9c67924812cb271c3ef70af6456
Author: Ludovic Courtès <address@hidden>
AuthorDate: Wed Apr 8 15:26:57 2020 +0200
gnu: libdaemon: Cross-build with --localstatedir=/var.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add
"--localstatedir=/var" when (%current-target-system) is true.
---
gnu/packages/libdaemon.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm
index a92892a..e47d66c 100644
--- a/gnu/packages/libdaemon.scm
+++ b/gnu/packages/libdaemon.scm
@@ -49,7 +49,15 @@
(if (%current-target-system)
;; The 'setpgrp' test cannot provide an answer when cross-compiling,
;; so provide the right one for glibc.
- `(#:configure-flags (list "ac_cv_func_setpgrp_void=yes"))
+ `(#:configure-flags (list "ac_cv_func_setpgrp_void=yes"
+
+ ;; TODO: Move this globally on the next
+ ;; rebuild cycle.
+ ;; Set a valid localstatedir for the
+ ;; benefit of the default
+ ;; 'daemon_pid_file_proc', used by the
+ ;; Hurd's console client.
+ "--localstatedir=/var"))
'()))
;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18639>.