diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2015-03-04 11:52:07 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2015-03-13 21:45:15 +0100 |
commit | 9de2e43cbe54398d88646d156320833654734f8c (patch) | |
tree | 23f75347037c8bf1faa7039717e3c27465527c62 /gnu | |
parent | 9569dfc856d6753f20b16c2f699df7e537cea15c (diff) | |
download | guix-9de2e43cbe54398d88646d156320833654734f8c.tar guix-9de2e43cbe54398d88646d156320833654734f8c.tar.gz |
gnu: clalsadrv: Move snippet to build phase and set LIBDIR.
* gnu/packages/audio.scm (clalsadrv): Move snippet to build phase and set
LIBDIR.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/audio.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 6a3b3f3af9..58e2b8d76d 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -245,20 +245,20 @@ plugins are provided.") version ".tar.bz2")) (sha256 (base32 - "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq")) - (modules '((guix build utils))) - (snippet - '(substitute* "libs/Makefile" - (("/sbin/ldconfig") "true"))))) + "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no "check" target #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (alist-cons-after - 'unpack - 'enter-directory - (lambda _ (chdir "libs")) + 'unpack 'patch-makefile-and-enter-directory + (lambda _ + (substitute* "libs/Makefile" + (("/sbin/ldconfig") "true") + (("^LIBDIR =.*") "LIBDIR = lib\n")) + (chdir "libs") + #t) (alist-cons-after 'install 'install-symlink |