mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: filters: Fix bogus use of DESTDIR.
* gnu/packages/toys.scm (filters)[arguments]: Set and respect the standard prefix variable.
This commit is contained in:
parent
dae2ac513d
commit
5446720292
1 changed files with 5 additions and 5 deletions
|
@ -101,17 +101,17 @@ (define-public filters
|
|||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "DESTDIR=" %output))
|
||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'unpack 'fix-install-directories
|
||||
(add-after 'unpack 'respect-prefix
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("/usr/games")
|
||||
"/bin/")
|
||||
(("/usr/share/")
|
||||
"/share/"))
|
||||
"$(prefix)/bin/")
|
||||
(("/usr")
|
||||
"$(prefix)"))
|
||||
#t)))
|
||||
#:tests? #f)) ; no test suite
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue