build-system/gnu: Patch /usr/bin/file in all 'configure' files.
authorLudovic Courtès <ludo@gnu.org>
Fri, 9 Jan 2015 21:35:33 +0000 (22:35 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Jan 2015 22:29:20 +0000 (23:29 +0100)
commit4eb01e5442aa7bbaa880ae8e72bd5d27434855ef
tree2861126f25033783f548c291eb506cb536df2f30
parentaa1e19477b2d78884fc500fef497cd6677604d9b
build-system/gnu: Patch /usr/bin/file in all 'configure' files.

* guix/build/utils.scm (patch-/usr/bin/file): New procedure.
* guix/build/gnu-build-system.scm (patch-usr-bin-file): Rewrite using
  it.  Patch all the files returned by 'find-files' that are executable.
* gnu/packages/gawk.scm (gawk)[arguments]: Remove use of 'substitute*'
  for 'extension/configure'.
gnu/packages/gawk.scm
guix/build/gnu-build-system.scm
guix/build/utils.scm