~ruther/guix-local

b5c18c78c2ff53fe3d489120d50f3732ee36d939 — Andreas Enge 13 years ago c3f9761
gnu: curl: Let patch-shebang handle /usr/bin/env.

* gnu/packages/curl.scm (curl): Drop manual rewriting of #!/usr/bin/env.
1 files changed, 1 insertions(+), 12 deletions(-)

M gnu/packages/curl.scm
M gnu/packages/curl.scm => gnu/packages/curl.scm +1 -12
@@ 55,18 55,7 @@
             ("pkg-config" ,pkg-config)
             ("zlib" ,zlib)))
   (arguments
    `(#:configure-flags '("--with-gnutls" "--with-gssapi")
      #:phases
       (alist-replace
        'unpack
        (lambda* (#:key #:allow-other-keys #:rest args)
         (let ((unpack (assoc-ref %standard-phases 'unpack)))
           (apply unpack args)
           ;; The following patch-shebang phase will replace perl
           ;; by the correct path.
           (substitute* "tests/runtests.pl"
                         (("#!/usr/bin/env perl") "#!/usr/bin/perl"))))
       %standard-phases)))
    `(#:configure-flags '("--with-gnutls" "--with-gssapi")))
   (synopsis "curl, command line tool for transferring data with URL syntax")
   (description
    "curl is a command line tool for transferring data with URL syntax,