guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

42/52: gnu: libdaemon: Cross-build with --localstatedir=/var.


From: guix-commits
Subject: 42/52: gnu: libdaemon: Cross-build with --localstatedir=/var.
Date: Thu, 9 Apr 2020 13:29:13 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 954d57f801f98b6e2316cc56adbb6d7014c8a628
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>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]