gnu: gnupg: Patch out /bin/sh in generated file.

* gnu/packages/gnupg.scm (gnupg): Modify configure phase.
This commit is contained in:
Andreas Enge 2013-02-11 23:17:07 +01:00
parent a86177d61c
commit 30e9cbb44e
1 changed files with 10 additions and 0 deletions

View File

@ -155,6 +155,16 @@ specifications are building blocks of S/MIME and TLS.")
("libgpg-error" ,libgpg-error) ("libgpg-error" ,libgpg-error)
("zlib" ,guix:zlib) ("zlib" ,guix:zlib)
("readline" ,readline))) ("readline" ,readline)))
(arguments
`(#:phases
(alist-replace
'configure
(lambda* (#:key #:allow-other-keys #:rest args)
(let ((configure (assoc-ref %standard-phases 'configure)))
(substitute* "tests/openpgp/Makefile.in"
(("/bin/sh") (which "bash")))
(apply configure args)))
%standard-phases)))
(home-page "http://gnupg.org/") (home-page "http://gnupg.org/")
(synopsis (synopsis
"GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard") "GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard")