distro: expect: Provide the right path to `stty'.

* distro/packages/tcl.scm (expect): Add #:phases argument.
This commit is contained in:
Ludovic Courtès 2013-01-13 15:37:01 +01:00
parent fa39cc0da6
commit d5529a9162

@ -88,7 +88,14 @@
(string-append "--exec-prefix="
(assoc-ref %outputs "out")))
;; FIXME: There are test failures.
#:phases (alist-cons-before
'configure 'set-path-to-stty
(lambda _
(substitute* "configure"
(("STTY_BIN=/bin/stty")
(string-append "STTY_BIN=" (which "stty")))))
%standard-phases)
#:test-target "test"))
(home-page "http://expect.nist.gov/")
(synopsis