diff options
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 026629cad1..684979018c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1838,9 +1838,13 @@ Compression ratios of 2:1 to 3:1 are common for text files.") #:make-flags ;; Fix cross-compilation without affecting native builds, as doing so ;; would trigger too many rebuilds: https://issues.guix.gnu.org/57127 - #~(list "-f" "unix/Makefile" - (string-append "prefix=" %output) - (string-append "MANDIR=" %output "/share/man/man1")))) + (if (%current-target-system) + #~(list "-f" "unix/Makefile" + (string-append "prefix=" #$output) + (string-append "MANDIR=" #$output "/share/man/man1")) + #~(list "-f" "unix/Makefile" + (string-append "prefix=" %output) + (string-append "MANDIR=" %output "/share/man/man1"))))) (home-page "http://www.info-zip.org/UnZip.html") (synopsis "Decompression and file extraction utility") (description |