Browse Source

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

* gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add
"--localstatedir=/var" when (%current-target-system) is true.
gn-latest-20200725
Ludovic Courtès 1 year ago
parent
commit
5ea5d0512f
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      gnu/packages/libdaemon.scm

+ 9
- 1
gnu/packages/libdaemon.scm View File

@ -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>.


Loading…
Cancel
Save