me
/
guix
Archived
1
0
Fork 0

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.
master
Mark H Weaver 2014-08-29 18:28:50 -04:00
parent b5ef82e064
commit 6646747c02
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,14 @@
'((substitute* "extension/Makefile.in" '((substitute* "extension/Makefile.in"
(("^.*: check-for-shared-lib-support" match) (("^.*: check-for-shared-lib-support" match)
(string-append "### " 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))) %standard-phases)))
(inputs `(("libsigsegv" ,libsigsegv) (inputs `(("libsigsegv" ,libsigsegv)