[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/24: gnu: icu4c: Don't keep a reference to coreutils.
From: |
Marius Bakke |
Subject: |
02/24: gnu: icu4c: Don't keep a reference to coreutils. |
Date: |
Sat, 28 Jul 2018 09:58:15 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit fbd2b8da5d7e6edb16ba7128324f6bc48ac68569
Author: Marius Bakke <address@hidden>
Date: Wed Jul 25 04:36:02 2018 +0200
gnu: icu4c: Don't keep a reference to coreutils.
* gnu/packages/icu4c.scm (icu4c)[arguments]: Add phase
'avoid-coreutils-reference'.
---
gnu/packages/icu4c.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 61333a3..cbba9aa 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -58,7 +58,15 @@
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-to-source
- (lambda _ (chdir "source") #t)))))
+ (lambda _ (chdir "source") #t))
+ (add-after 'install 'avoid-coreutils-reference
+ ;; Don't keep a reference to the build tools.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* (find-files (string-append out "/lib/icu")
+ "\\.inc$")
+ (("INSTALL_CMD=.*/bin/install") "INSTALL_CMD=install"))
+ #t))))))
(synopsis "International Components for Unicode")
(description
"ICU is a set of C/C++ and Java libraries providing Unicode and
- branch core-updates updated (1428bce -> 4696368), Marius Bakke, 2018/07/28
- 01/24: gnu: openldap: Don't build static libraries., Marius Bakke, 2018/07/28
- 02/24: gnu: icu4c: Don't keep a reference to coreutils.,
Marius Bakke <=
- 04/24: gnu: libxml2: Add explicit dependency on XZ., Marius Bakke, 2018/07/28
- 03/24: gnu: libxml2: Move static library to separate output., Marius Bakke, 2018/07/28
- 08/24: gnu: python: Build reproducibly., Marius Bakke, 2018/07/28
- 10/24: gnu: python-py: Update to 1.5.4., Marius Bakke, 2018/07/28
- 11/24: gnu: python-py: Update home page., Marius Bakke, 2018/07/28
- 17/24: gnu: python-flake8: Update to 3.5.0., Marius Bakke, 2018/07/28
- 07/24: gnu: python: Rebuild bytecode after removing tests., Marius Bakke, 2018/07/28
- 05/24: gnu: python: Remove outdated comment and phases., Marius Bakke, 2018/07/28
- 06/24: gnu: python: Update to 3.7.0., Marius Bakke, 2018/07/28
- 12/24: gnu: python-pyflakes: Update to 2.0.0., Marius Bakke, 2018/07/28