~ruther/guix-local

30e9cbb44ed70ef6154267e53ba0fcb77bb94ade — Andreas Enge 13 years ago a86177d
gnu: gnupg: Patch out /bin/sh in generated file.

* gnu/packages/gnupg.scm (gnupg): Modify configure phase.
1 files changed, 10 insertions(+), 0 deletions(-)

M gnu/packages/gnupg.scm
M gnu/packages/gnupg.scm => gnu/packages/gnupg.scm +10 -0
@@ 155,6 155,16 @@ specifications are building blocks of S/MIME and TLS.")
       ("libgpg-error" ,libgpg-error)
       ("zlib" ,guix:zlib)
       ("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/")
    (synopsis
     "GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard")