mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@
|
||||||
(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…
Add table
Add a link
Reference in a new issue