gnu: subversion: Fix libtool wrapper execution in hooks.
* gnu/packages/version-control.scm (subversion)[arguments]: New 'patch-libtool-wrapper-ls phase.
This commit is contained in:
parent
de878f1b29
commit
7639105b12
|
@ -427,14 +427,26 @@ property manipulation.")
|
|||
(version "1.7.18")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://archive.apache.org/dist/subversion/subversion-"
|
||||
version ".tar.bz2"))
|
||||
(uri (string-append "http://archive.apache.org/dist/subversion/"
|
||||
"subversion-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"06nrqnn3qq1hhskkcdbm0ilk2xv6ay2gyf2c7qvxp6xncb782wzn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (alist-cons-after
|
||||
'configure 'patch-libtool-wrapper-ls
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; This substitution allows tests svnauthz_tests and
|
||||
;; svnlook_tests to pass. These tests execute svnauthz and
|
||||
;; svnlook through their libtool wrapper scripts from svn
|
||||
;; hooks, whose empty environments cause "ls: command not
|
||||
;; found" errors. It would be nice if this fix ultimately
|
||||
;; made its way into libtool.
|
||||
(let ((coreutils (assoc-ref inputs "coreutils")))
|
||||
(substitute* "libtool"
|
||||
(("\\\\`ls") (string-append "\\`" coreutils "/bin/ls")))))
|
||||
(alist-cons-after
|
||||
'install 'instal-perl-bindings
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Follow the instructions from
|
||||
|
@ -453,7 +465,7 @@ property manipulation.")
|
|||
(string-append "PREFIX=" out)))
|
||||
(zero?
|
||||
(system* "make" "install")))))))
|
||||
%standard-phases)))
|
||||
%standard-phases))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
;; For the Perl bindings.
|
||||
|
|
Loading…
Reference in New Issue