summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-08-29 18:28:50 -0400
committerMark H Weaver <mhw@netris.org>2014-08-29 18:31:57 -0400
commit6646747c020402fd077a719af99627d9cf3fe54d (patch)
treeb6efc57bc13a2602d931226d948d9f5354b6fc6d /gnu
parentb5ef82e064daeb8452fe269892778eaf98e986d5 (diff)
downloadguix-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')
-rw-r--r--gnu/packages/gawk.scm8
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)