gnu: libtool: Make sure all phases return a successful value.

* gnu/packages/autotools.scm (libtool)[arguments]: Return #t from 'pre-check'
and 'restore-ltmain-shebang' phases.
This commit is contained in:
Leo Famulari 2017-01-05 10:44:43 -05:00
parent c5862bda95
commit 78c172a56e
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -329,11 +329,13 @@ (define-public libtool
(let ((bash (assoc-ref inputs "bash")))
(substitute* "tests/testsuite"
(("/bin/sh")
(string-append bash "/bin/sh"))))))
(string-append bash "/bin/sh")))
#t)))
(add-after 'patch-source-shebangs 'restore-ltmain-shebang
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "build-aux/ltmain.in"
(("^#!.*/bin/sh$") "/bin/sh")))))))
(("^#!.*/bin/sh$") "/bin/sh"))
#t)))))
(synopsis "Generic shared library support tools")
(description