From 8521adf935919d1dc07078751f77003405cf79cb Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 8 Jan 2022 03:50:11 +0100 Subject: gnu: man-db: Fix cross-compilation. * gnu/packages/linux.scm (man-db)[arguments]: Avoid %OUTPUT when cross-compiling. --- gnu/packages/man.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gnu/packages/man.scm') diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index d9e8b07471..c6d8b8881d 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -183,10 +183,17 @@ (define-public man-db (string-append "--with-xz=" xz "/bin/xz") (string-append "--with-col=" util "/bin/col") ;; The default systemd directories ignore --prefix. + ;; XXX TODO: Replace with simply #$OUTPUT on staging. (string-append "--with-systemdsystemunitdir=" - %output "/lib/systemd/system") + #$(if (%current-target-system) + #~#$output + #~%output) + "/lib/systemd/system") (string-append "--with-systemdtmpfilesdir=" - %output "/lib/tmpfiles.d")) + #$(if (%current-target-system) + #~#$output + #~%output) + "/lib/tmpfiles.d")) (map (lambda (prog) (string-append "--with-" prog "=" groff-minimal "/bin/" prog)) -- cgit v1.2.3