guix-patches
[Top][All Lists]
Advanced

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

[bug#28592] [PATCH] gnu: lm-sensors: Add "lib" output.


From: Dave Love
Subject: [bug#28592] [PATCH] gnu: lm-sensors: Add "lib" output.
Date: Mon, 25 Sep 2017 11:42:07 +0100

* gnu/packages/linux.scm(lm-sensors)[outputs]: Add lib.
(lm-sensors)[arguments]: Fix up make flags.
---
 gnu/packages/linux.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 22f22c036..2c1b2bbf1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2358,12 +2358,16 @@ country-specific regulations for the wireless 
spectrum.")
                      ("flex" ,flex)
                      ("bison" ,bison)
                      ("which" ,which)))
+    (outputs '("lib"              ;avoid perl in closure
+               "out"))
     (arguments
      `(#:tests? #f  ; no 'check' target
        #:make-flags (list (string-append "PREFIX=" %output)
-                          (string-append "ETCDIR=" %output "/etc")
-                          (string-append "MANDIR=" %output "/share/man"))
+                          (string-append "ETCDIR=" (assoc-ref %outputs "lib") 
"/etc")
+                          (string-append "INCLUDEDIR="
+                                         (assoc-ref %outputs "lib") "/include")
+                          (string-append "MANDIR=" %output "/share/man")
+                          (string-append "LIBDIR=" (assoc-ref %outputs "lib") 
"/lib"))
        #:phases
        (alist-delete
         'configure
-- 
2.11.0






reply via email to

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