guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/13: gnu: hss: Patch less.


From: guix-commits
Subject: 06/13: gnu: hss: Patch less.
Date: Sat, 11 Jul 2020 16:04:41 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 845f5a03062e0facfd80d717ead2cf4a153fb562
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jul 11 19:53:29 2020 +0200

    gnu: hss: Patch less.
    
    * gnu/packages/ssh.scm (hss)[arguments]: Set INSTALL_BIN make flag
    instead of patching the Makefile.
---
 gnu/packages/ssh.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 67ea9df..aaa552b 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]