From 5ea5d0512f912375358c339f81334454b03ef5a3 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 8 Apr 2020 15:26:57 +0200 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm index a92892a6ae..e47d66cfa7 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 . -- cgit v1.2.3