summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-01-06 13:27:18 -0500
committerMark H Weaver <mhw@netris.org>2015-01-06 13:31:49 -0500
commitcf0a154c4105abf42824007848f4e319ce23f987 (patch)
tree5216e9375af4e64c98ab323b51054e1fdf2e9590
parent7cd802f342407c0d1cdef888a2e0d22f07690bb4 (diff)
downloadguix-cf0a154c4105abf42824007848f4e319ce23f987.tar.gz
gnu: gawk: Fix target-system check.
* gnu/packages/gawk.scm (gawk): Fix target-system check.
-rw-r--r--gnu/packages/gawk.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 996be7af4a..74d0720567 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -59,7 +59,7 @@
 
                     ;; XXX FIXME prerelease libtool fails on MIPS in the
                     ;; absence of /usr/bin/file.
-                    ,@(if (equal? "mips64el-linux" (or (%current-target-system)
+                    ,@(if (string-prefix? "mips64" (or (%current-target-system)
                                                        (%current-system)))
                           '((substitute* "extension/configure"
                               (("/usr/bin/file") (which "file"))))