mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: libdaemon: Cross-build with --localstatedir=/var.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add "--localstatedir=/var" when (%current-target-system) is true.
This commit is contained in:
parent
a16022a7b8
commit
5ea5d0512f
1 changed files with 9 additions and 1 deletions
|
@ -49,7 +49,15 @@ (define-public libdaemon
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
;; The 'setpgrp' test cannot provide an answer when cross-compiling,
|
;; The 'setpgrp' test cannot provide an answer when cross-compiling,
|
||||||
;; so provide the right one for glibc.
|
;; 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>.
|
;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18639>.
|
||||||
|
|
Loading…
Reference in a new issue