[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: libdaemon: Fix targeting riscv64.
From: |
guix-commits |
Subject: |
09/11: gnu: libdaemon: Fix targeting riscv64. |
Date: |
Thu, 6 Oct 2022 10:11:03 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit eb5b104ca8a3d37cebb8ac6c93bdd0a0447db2b2
Author: Lu Hui <luhux76@gmail.com>
AuthorDate: Fri Sep 16 20:46:06 2022 +0800
gnu: libdaemon: Fix targeting riscv64.
* gnu/packages/libdaemon.scm (libdaemon)[native-inputs,arguments]: Treat
targeting riscv64 like aarch64 is handled.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/libdaemon.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/libdaemon.scm b/gnu/packages/libdaemon.scm
index 9dc851e823..12e4e2dc9c 100644
--- a/gnu/packages/libdaemon.scm
+++ b/gnu/packages/libdaemon.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2022 LuHui <luhux76@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -49,7 +50,8 @@
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(native-inputs
- (if (and=> (%current-target-system) target-aarch64?)
+ (if (or (and=> (%current-target-system) target-aarch64?)
+ (and=> (%current-target-system) target-riscv64?))
`(("config" ,config)) ; for config.sub
'()))
(arguments
@@ -66,7 +68,8 @@
;; Hurd's console client.
"--localstatedir=/var"))
'())
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (and=> (%current-target-system) target-aarch64?)
+ (and=> (%current-target-system) target-riscv64?))
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'update-config.sub
- branch master updated (b86867417f -> 5b42b64ea8), guix-commits, 2022/10/06
- 07/11: gnu: Add r-gldex., guix-commits, 2022/10/06
- 10/11: gnu: Add waybar-cpu-histogram., guix-commits, 2022/10/06
- 03/11: gnu: Add rust-os-pipe-0.8., guix-commits, 2022/10/06
- 02/11: gnu: Add rust-greetd-ipc-0.8., guix-commits, 2022/10/06
- 09/11: gnu: libdaemon: Fix targeting riscv64.,
guix-commits <=
- 04/11: gnu: Add wlgreet., guix-commits, 2022/10/06
- 08/11: gnu: Add discregrid., guix-commits, 2022/10/06
- 01/11: gnu: plink: Change origin URL., guix-commits, 2022/10/06
- 05/11: gnu: Add cpass., guix-commits, 2022/10/06
- 06/11: gnu: Add r-spacefillr., guix-commits, 2022/10/06
- 11/11: doc: Fix missing package name., guix-commits, 2022/10/06