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.master
parent
2b3b745c00
commit
b5fb9430ba
|
@ -2630,11 +2630,17 @@ arrays when needed.")
|
||||||
'(#:tests? #f ; No tests.
|
'(#:tests? #f ; No tests.
|
||||||
#:make-flags (list (string-append "DESTDIR="
|
#:make-flags (list (string-append "DESTDIR="
|
||||||
(assoc-ref %outputs "out"))
|
(assoc-ref %outputs "out"))
|
||||||
|
"SYSTEMDPATH=lib"
|
||||||
(string-append "LDFLAGS=-Wl,-rpath="
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib"))
|
"/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-source
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile.inc"
|
||||||
|
(("\\$\\(prefix\\)/usr") "$(prefix)"))
|
||||||
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'build 'set-CC
|
(add-before 'build 'set-CC
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue