gnu: alsa-utils: Use 'modify-phases'.

* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases'
syntax.
master
Efraim Flashner 2016-08-31 08:37:16 +03:00
parent 43043f23f5
commit 4916514503
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 9 additions and 8 deletions

View File

@ -885,14 +885,15 @@ MIDI functionality to the Linux-based operating system.")
(string-append "--with-udev-rules-dir="
(assoc-ref %outputs "out")
"/lib/udev/rules.d"))
#:phases (alist-cons-before
'install 'pre-install
(lambda _
;; Don't try to mkdir /var/lib/alsa.
(substitute* "Makefile"
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
"true\n")))
%standard-phases)))
#:phases
(modify-phases %standard-phases
(add-before
'install 'pre-install
(lambda _
;; Don't try to mkdir /var/lib/alsa.
(substitute* "Makefile"
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
"true\n")))))))
(inputs
`(("libsamplerate" ,libsamplerate)
("ncurses" ,ncurses)