mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: expect: Install man pages in share/man.
* gnu/packages/tcl.scm (expect): Add --mandir configure flag. Use 'let' to simplify configure flags generation.
This commit is contained in:
parent
7575778969
commit
988cecfd4f
1 changed files with 6 additions and 8 deletions
|
@ -95,14 +95,12 @@ (define-public expect
|
||||||
("tcl" ,tcl)))
|
("tcl" ,tcl)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
(list (string-append "--with-tcl="
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(assoc-ref %build-inputs "tcl")
|
(tcl (assoc-ref %build-inputs "tcl")))
|
||||||
"/lib")
|
(list (string-append "--with-tcl=" tcl "/lib")
|
||||||
(string-append "--with-tclinclude="
|
(string-append "--with-tclinclude=" tcl "/include")
|
||||||
(assoc-ref %build-inputs "tcl")
|
(string-append "--exec-prefix=" out)
|
||||||
"/include")
|
(string-append "--mandir=" out "/share/man")))
|
||||||
(string-append "--exec-prefix="
|
|
||||||
(assoc-ref %outputs "out")))
|
|
||||||
|
|
||||||
#:phases (alist-cons-before
|
#:phases (alist-cons-before
|
||||||
'configure 'set-path-to-stty
|
'configure 'set-path-to-stty
|
||||||
|
|
Loading…
Reference in a new issue