gnu: hss: Patch less.
* gnu/packages/ssh.scm (hss)[arguments]: Set INSTALL_BIN make flag instead of patching the Makefile.
This commit is contained in:
parent
3b6b337eac
commit
845f5a0306
1 changed files with 2 additions and 3 deletions
|
@ -88,15 +88,14 @@ (define-public hss
|
|||
`(("readline" ,readline)))
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list ,(string-append "CC=" (cc-for-target)))
|
||||
(list ,(string-append "CC=" (cc-for-target))
|
||||
(string-append "INSTALL_BIN=" (assoc-ref %outputs "out") "/bin"))
|
||||
#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-file-names
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(substitute* "Makefile"
|
||||
(("/usr/local/bin")
|
||||
(string-append (assoc-ref outputs "out") "/bin"))
|
||||
(("/usr/local/opt/readline")
|
||||
(assoc-ref inputs "readline")))
|
||||
#t))
|
||||
|
|
Loading…
Reference in a new issue