From 9de2e43cbe54398d88646d156320833654734f8c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 4 Mar 2015 11:52:07 +0100 Subject: gnu: clalsadrv: Move snippet to build phase and set LIBDIR. * gnu/packages/audio.scm (clalsadrv): Move snippet to build phase and set LIBDIR. --- gnu/packages/audio.scm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3