~ruther/guix-local

b5fb9430ba29ef80661a7730717399bf54f7115b — Marius Bakke 9 years ago 2b3b745
gnu: multipath-tools: Don't install to /usr sub-folders.

* gnu/packages/linux.scm (multipath-tools)<#:make-flags>: Add SYSTEMDPATH entry.
<#:phases>: Add new 'patch-source' phase.
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +6 -0
@@ 2630,11 2630,17 @@ arrays when needed.")
     '(#:tests? #f ; No tests.
       #:make-flags (list (string-append "DESTDIR="
                                         (assoc-ref %outputs "out"))
                          "SYSTEMDPATH=lib"
                          (string-append "LDFLAGS=-Wl,-rpath="
                                         (assoc-ref %outputs "out")
                                         "/lib"))
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-source
           (lambda _
             (substitute* "Makefile.inc"
               (("\\$\\(prefix\\)/usr") "$(prefix)"))
             #t))
         (delete 'configure)
         (add-before 'build 'set-CC
           (lambda _