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
parent
b5ef82e064
commit
6646747c02
|
@ -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)
|
||||||
|
|
Reference in New Issue