diff options
author | Mark H Weaver <mhw@netris.org> | 2014-08-29 18:28:50 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-08-29 18:31:57 -0400 |
commit | 6646747c020402fd077a719af99627d9cf3fe54d (patch) | |
tree | b6efc57bc13a2602d931226d948d9f5354b6fc6d /gnu/packages/gawk.scm | |
parent | b5ef82e064daeb8452fe269892778eaf98e986d5 (diff) | |
download | guix-6646747c020402fd077a719af99627d9cf3fe54d.tar guix-6646747c020402fd077a719af99627d9cf3fe54d.tar.gz |
gnu: gawk: Patch /usr/bin/file in extension/configure on MIPS.
* gnu/packages/gawk.scm (gawk): When building for MIPS, patch /usr/bin/file in
extension/configure.
Diffstat (limited to 'gnu/packages/gawk.scm')
-rw-r--r-- | gnu/packages/gawk.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm index fd14b4c83e..84b5bd17a7 100644 --- a/gnu/packages/gawk.scm +++ b/gnu/packages/gawk.scm @@ -55,6 +55,14 @@ '((substitute* "extension/Makefile.in" (("^.*: check-for-shared-lib-support" match) (string-append "### " match)))) + '()) + + ;; XXX FIXME prerelease libtool fails on MIPS in the + ;; absence of /usr/bin/file. + ,@(if (equal? "mips64el-linux" (or (%current-target-system) + (%current-system))) + '((substitute* "extension/configure" + (("/usr/bin/file") (which "file")))) '()))) %standard-phases))) (inputs `(("libsigsegv" ,libsigsegv) |