me
/
guix
Archived
1
0
Fork 0

gnu: tcl-tls: Use a gexp.

* gnu/packages/tcl.scm (tcl-tls)[arguments]: Use a gexp.
Ludovic Courtès 2022-05-06 15:18:52 +02:00
parent 4a3f8994f4
commit 8079bd3da8
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 10 additions and 11 deletions

View File

@ -449,18 +449,17 @@ debugging tools.")
(inputs (list tcl))
(propagated-inputs (list openssl))
(arguments
'(#:configure-flags
(let ((out (assoc-ref %outputs "out"))
(tcl (assoc-ref %build-inputs "tcl"))
(ssllib (assoc-ref %build-inputs "openssl")))
(list "--with-ssl=libressl"
(string-append "-with-ssl-dir=" ssllib)
(string-append "--with-tcl=" tcl "/lib")
(string-append "--with-tclinclude=" tcl "/include")
(string-append "--exec-prefix=" out)
(string-append "--mandir=" out "/share/man")))
(list #:configure-flags
#~(let ((tcl #$(this-package-input "tcl")))
(list "--with-ssl=libressl"
(string-append "-with-ssl-dir="
#$(this-package-input "openssl"))
(string-append "--with-tcl=" tcl "/lib")
(string-append "--with-tclinclude=" tcl "/include")
(string-append "--exec-prefix=" #$output)
(string-append "--mandir=" #$output "/share/man")))
#:test-target "test"))
#:test-target "test"))
(search-paths
(list (search-path-specification
(variable "TCLLIBPATH")