[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: eudev: Add pre-build phase.
From: |
Federico Beffa |
Subject: |
05/10: gnu: eudev: Add pre-build phase. |
Date: |
Sun, 18 Jan 2015 17:08:51 +0000 |
beffa pushed a commit to branch wip-gobject-introspection
in repository guix.
commit 31aa437987e325808b7ed308601c4615c395e3f8
Author: Federico Beffa <address@hidden>
Date: Tue Jan 13 16:25:29 2015 +0100
gnu: eudev: Add pre-build phase.
* gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation
with
'gobject-introspection' 1.42.0.
---
gnu/packages/linux.scm | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 952b9d1..d48a8e9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2013, 2014 Andreas Enge <address@hidden>
;;; Copyright © 2012 Nikita Karetnikov <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
+;;; Copyright © 2015 Federico Beffa <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1474,7 +1475,18 @@ from the module-init-tools project.")
;; Work around undefined reference to
;; 'mq_getattr' in sc-daemon.c.
- "LDFLAGS=-lrt")))
+ "LDFLAGS=-lrt")
+ #:phases
+ (alist-cons-before
+ 'build 'pre-build
+ ;; The program 'g-ir-scanner' (part of the package
+ ;; 'gobject-introspection'), to generate .gir files, makes some
+ ;; library pre-processing. During that phase it looks for the C
+ ;; compiler as either 'cc' or as defined by the environment variable
+ ;; 'CC' (with code in 'giscanner/dumper.py').
+ (lambda* _
+ (setenv "CC" "gcc"))
+ %standard-phases)))
(home-page "http://www.gentoo.org/proj/en/eudev/")
(synopsis "Userspace device management")
(description "Udev is a daemon which dynamically creates and removes
- branch wip-gobject-introspection created (now da6ce3f), Federico Beffa, 2015/01/18
- 01/10: gnu: gobject-introspection: Update to 1.42.0 and add new patch., Federico Beffa, 2015/01/18
- 03/10: gnu: gdk-pixbuf: Update to 2.31.1., Federico Beffa, 2015/01/18
- 02/10: gnu: pango: Update to 1.36.8., Federico Beffa, 2015/01/18
- 04/10: gnu: eudev: Update to 2.1.1., Federico Beffa, 2015/01/18
- 06/10: gnu: atk: Update to 2.15.3., Federico Beffa, 2015/01/18
- 05/10: gnu: eudev: Add pre-build phase.,
Federico Beffa <=
- 07/10: gnu: python-matplotlib: Remove python-pillow input., Federico Beffa, 2015/01/18
- 08/10: gnu: gtk+: Update to 3.14.7., Federico Beffa, 2015/01/18
- 09/10: gnu: python-matplotlib: Update comments., Federico Beffa, 2015/01/18
- 10/10: gnu: python-scipy: Update to 0.15.0., Federico Beffa, 2015/01/18