gnu: man-db: Fix cross-compilation.
* gnu/packages/linux.scm (man-db)[arguments]: Avoid %OUTPUT when cross-compiling.
This commit is contained in:
parent
9644d5b1e6
commit
8521adf935
1 changed files with 9 additions and 2 deletions
|
@ -183,10 +183,17 @@ a flexible and convenient way.")
|
||||||
(string-append "--with-xz=" xz "/bin/xz")
|
(string-append "--with-xz=" xz "/bin/xz")
|
||||||
(string-append "--with-col=" util "/bin/col")
|
(string-append "--with-col=" util "/bin/col")
|
||||||
;; The default systemd directories ignore --prefix.
|
;; The default systemd directories ignore --prefix.
|
||||||
|
;; XXX TODO: Replace with simply #$OUTPUT on staging.
|
||||||
(string-append "--with-systemdsystemunitdir="
|
(string-append "--with-systemdsystemunitdir="
|
||||||
%output "/lib/systemd/system")
|
#$(if (%current-target-system)
|
||||||
|
#~#$output
|
||||||
|
#~%output)
|
||||||
|
"/lib/systemd/system")
|
||||||
(string-append "--with-systemdtmpfilesdir="
|
(string-append "--with-systemdtmpfilesdir="
|
||||||
%output "/lib/tmpfiles.d"))
|
#$(if (%current-target-system)
|
||||||
|
#~#$output
|
||||||
|
#~%output)
|
||||||
|
"/lib/tmpfiles.d"))
|
||||||
(map (lambda (prog)
|
(map (lambda (prog)
|
||||||
(string-append "--with-" prog "=" groff-minimal
|
(string-append "--with-" prog "=" groff-minimal
|
||||||
"/bin/" prog))
|
"/bin/" prog))
|
||||||
|
|
Reference in a new issue