all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28592] [PATCH] gnu: lm-sensors: Add "lib" output.
@ 2017-09-25 10:42 Dave Love
  2017-09-25 12:48 ` bug#28592: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Love @ 2017-09-25 10:42 UTC (permalink / raw)
  To: 28592; +Cc: Dave Love

* 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#28592: [PATCH] gnu: lm-sensors: Add "lib" output.
  2017-09-25 10:42 [bug#28592] [PATCH] gnu: lm-sensors: Add "lib" output Dave Love
@ 2017-09-25 12:48 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-09-25 12:48 UTC (permalink / raw)
  To: Dave Love; +Cc: 28592-done

Dave Love <fx@gnu.org> skribis:

> * gnu/packages/linux.scm(lm-sensors)[outputs]: Add lib.
> (lm-sensors)[arguments]: Fix up make flags.

I modified xsensors accordingly and applied.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-25 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 10:42 [bug#28592] [PATCH] gnu: lm-sensors: Add "lib" output Dave Love
2017-09-25 12:48 ` bug#28592: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.