[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems.
From: |
Mark H. Weaver |
Subject: |
07/08: gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems. |
Date: |
Tue, 06 Jan 2015 18:42:47 +0000 |
mhw pushed a commit to branch core-updates
in repository guix.
commit 0d93648bece32ba516812b3a4264dd0a72810dbf
Author: Mark H Weaver <address@hidden>
Date: Mon Jan 5 19:50:25 2015 +0000
gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems.
* gnu/packages/icu4c.scm (icu4c)[inputs]: Remove patchelf.
[configure-flags]: Add --enable-rpath. Add --with-data-packaging=archive
on arm systems.
[phases]: Remove 'add-lib-to-runpath' phase.
---
gnu/packages/icu4c.scm | 31 +++++++++----------------------
1 files changed, 9 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index ea5aecc..a575e91 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <address@hidden>
+;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,7 +19,6 @@
(define-module (gnu packages icu4c)
#:use-module (gnu packages)
- #:use-module (gnu packages elf)
#:use-module (gnu packages perl)
#:use-module (guix licenses)
#:use-module (guix packages)
@@ -40,16 +40,14 @@
(base32 "1cwapgjmvrcv1n2wjspj3vahidg596gjfp4jn1gcb4baralcjayl"))))
(build-system gnu-build-system)
(inputs
- `(("patchelf" ,patchelf)
- ("perl" ,perl)))
+ `(("perl" ,perl)))
(arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build utils)
- (guix build rpath)
- (srfi srfi-26))
- #:imported-modules ((guix build gnu-build-system)
- (guix build utils)
- (guix build rpath))
+ `(#:configure-flags
+ '("--enable-rpath"
+ ,@(if (string-prefix? "arm" (or (%current-target-system)
+ (%current-system)))
+ '("--with-data-packaging=archive")
+ '()))
#:phases
(alist-cons-after
'unpack 'chdir-to-source
@@ -62,18 +60,7 @@
(substitute* "configure"
(("`/bin/sh")
(string-append "`" (which "bash")))))
- (alist-cons-after
- 'strip 'add-lib-to-runpath
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib")))
- ;; Add LIB to the RUNPATH of all the libraries and binaries.
- (with-directory-excursion out
- (for-each (cut augment-rpath <> lib)
- (append (find-files "lib" ".*")
- (find-files "bin" ".*")
- (find-files "sbin" ".*"))))))
- %standard-phases)))))
+ %standard-phases))))
(synopsis "International Components for Unicode")
(description
"ICU is a set of C/C++ and Java libraries providing Unicode and
- branch core-updates updated (9b1bf33 -> 77a3979), Mark H. Weaver, 2015/01/06
- 02/08: gnu: mit-krb5: Build with default gcc., Mark H. Weaver, 2015/01/06
- 05/08: gnu: boost: Fix target-system check., Mark H. Weaver, 2015/01/06
- 04/08: gnu: texlive: Fix target-system check., Mark H. Weaver, 2015/01/06
- 06/08: gnu: gawk: Fix target-system check., Mark H. Weaver, 2015/01/06
- 07/08: gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems.,
Mark H. Weaver <=
- 01/08: Merge branch 'master' into core-updates, Mark H. Weaver, 2015/01/06
- 08/08: gnu: swig: Build a UTF-8 locale for the tests., Mark H. Weaver, 2015/01/06
- 03/08: gnu: gtk+: Include xorg-server in native-inputs on MIPS; enable tests., Mark H. Weaver, 2015/01/06