[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: bzip2: Patch bzip2 utilities.
From: |
Marius Bakke |
Subject: |
02/02: gnu: bzip2: Patch bzip2 utilities. |
Date: |
Wed, 17 May 2017 10:58:45 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit e7ee50f2d26355d7a2fee250cf19a943f0343853
Author: Christopher Baines <address@hidden>
Date: Tue May 16 21:36:33 2017 +0100
gnu: bzip2: Patch bzip2 utilities.
* gnu/packages/compression.scm (bzip2)[arguments]: Add patch-script phase to
remove absolute reference to /bin/rm.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/compression.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index a043585..4908c9c 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -254,6 +254,12 @@ file; as a result, it is often used in conjunction with
\"tar\", resulting in
(copy-file file
(string-append libdir "/" base))))
(find-files "." "^libbz2\\.so")))
+ #t))
+ (add-after 'install-shared-lib 'patch-scripts
+ (lambda* (#:key outputs inputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (string-append out "/bin/bzdiff")
+ (("/bin/rm") "rm")))
#t)))
#:make-flags (list (string-append "PREFIX="