guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: clalsadrv: Move snippet to build phase and set LIBDIR.


From: Ricardo Wurmus
Subject: 02/02: gnu: clalsadrv: Move snippet to build phase and set LIBDIR.
Date: Fri, 13 Mar 2015 20:45:34 +0000

rekado pushed a commit to branch master
in repository guix.

commit 9de2e43cbe54398d88646d156320833654734f8c
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 4 11:52:07 2015 +0100

    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 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6a3b3f3..58e2b8d 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]