summaryrefslogtreecommitdiff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-03-04 11:50:26 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-03-13 21:45:08 +0100
commit9569dfc856d6753f20b16c2f699df7e537cea15c (patch)
tree862dcf36e9638d33959c3166e916a0c0e55432c8 /gnu/packages/audio.scm
parentfeae339537bdf6adc6ad0597ddf9ee0defdf7508 (diff)
gnu: zita-alsa-pcmi: Move snippet to build phase and set LIBDIR.
* gnu/packages/audio.scm (zita-alsa-pcmi): Move snippet to build phase and set LIBDIR.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e44db11199..6a3b3f3af9 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1157,20 +1157,20 @@ with a much different focus than most other audio daemons.")
version ".tar.bz2"))
(sha256
(base32
- "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))
- (modules '((guix build utils)))
- (snippet
- '(substitute* "libs/Makefile"
- (("ldconfig") "true")))))
+ "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
(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"
+ (("ldconfig") "true")
+ (("^LIBDIR =.*") "LIBDIR = lib\n"))
+ (chdir "libs")
+ #t)
(alist-cons-after
'install
'install-symlink