summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-11 19:53:29 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-11 21:07:25 +0200
commit845f5a03062e0facfd80d717ead2cf4a153fb562 (patch)
tree2899b64e39cd81c46a4363877b6761cb3e2cb6d3 /gnu/packages
parent3b6b337eac9c730fa01719f51f7a7b01513623e5 (diff)
gnu: hss: Patch less.
* gnu/packages/ssh.scm (hss)[arguments]: Set INSTALL_BIN make flag instead of patching the Makefile.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ssh.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 67ea9dfa91..aaa552bfd6 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -88,15 +88,14 @@
`(("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))