[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: make-libiberty: Use install-file.
From: |
guix-commits |
Subject: |
06/09: gnu: make-libiberty: Use install-file. |
Date: |
Fri, 20 Mar 2020 14:18:18 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0f7e6964c7b0daa715ebbd8ef6fe6f875ba47b85
Author: guy fleury iteriteka <address@hidden>
AuthorDate: Wed Mar 18 09:54:57 2020 +0200
gnu: make-libiberty: Use install-file.
* gnu/packages/gcc.scm(make-libiberty): In phase install use
install-file helper function to install file.
---
gnu/packages/gcc.scm | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 589e936..3d1ae25 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Marius Bakke <address@hidden>
;;; Copyright © 2020 Joseph LaFreniere <address@hidden>
+;;; Copyright © 2020 Guy Fleury Iteriteka <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -578,22 +579,17 @@ using compilers other than GCC."
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir
- (lambda _
- (chdir "libiberty")
- #t))
- (replace
- 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib/"))
- (include (string-append out "/include/")))
- (mkdir-p lib)
- (mkdir-p include)
- (copy-file "libiberty.a"
- (string-append lib "libiberty.a"))
- (copy-file "../include/libiberty.h"
- (string-append include "libiberty.h"))
- #t))))))
+ (lambda _
+ (chdir "libiberty")
+ #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib/"))
+ (include (string-append out "/include/")))
+ (install-file "libiberty.a" lib)
+ (install-file "../include/libiberty.h" include))
+ #t)))))
(inputs '())
(outputs '("out"))
(native-inputs '())
- branch master updated (6145b16 -> 830dab8), guix-commits, 2020/03/20
- 01/09: gnu: libiberty: Do not inherit properties from GCC., guix-commits, 2020/03/20
- 03/09: gnu: add premake5., guix-commits, 2020/03/20
- 02/09: gnu: gsettings-desktop-schemas: patch monospace font., guix-commits, 2020/03/20
- 06/09: gnu: make-libiberty: Use install-file.,
guix-commits <=
- 08/09: gnu: Add squid., guix-commits, 2020/03/20
- 07/09: gnu: emacs-projectile: Update to 2.1.0., guix-commits, 2020/03/20
- 09/09: gnu: ansible: Update to 2.9.6., guix-commits, 2020/03/20
- 05/09: gnu: Add blktrace., guix-commits, 2020/03/20
- 04/09: gnu: Add wev., guix-commits, 2020/03/20