[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/16: gnu: ntp: Fix cross-compilation inputs.
From: |
guix-commits |
Subject: |
01/16: gnu: ntp: Fix cross-compilation inputs. |
Date: |
Sat, 12 Aug 2023 17:21:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6bbef3d9a269c38a6af941fb8f7c7b1d82834776
Author: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
AuthorDate: Mon Aug 7 14:17:49 2023 +0200
gnu: ntp: Fix cross-compilation inputs.
* gnu/packages/ntp.scm (ntp)[inputs]: Use `target-linux?' instead of
the manual string comparison as it would not add the libcap input
correctly when cross-compiling as the platform ends in `-linux-gnu'
unlike the system string which ends in `-linux'.
Signed-off-by: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/ntp.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 1a72efbc79..4ab8ab6631 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -139,8 +139,7 @@ time-stamping or reference clock, sub-microsecond accuracy
is possible.")
libevent
;; Build with POSIX capabilities support on GNU/Linux. This allows
;; 'ntpd' to run as non-root (when invoked with '-u'.)
- (if (string-suffix? "-linux"
- (or (%current-target-system) (%current-system)))
+ (if (target-linux?)
(list libcap)
'())))
(arguments
- branch master updated (eb25c2b3e2 -> d0a2b422e0), guix-commits, 2023/08/12
- 08/16: gnu: lfs-s3: Update to 0.1.5., guix-commits, 2023/08/12
- 05/16: teams: Add myself to 'installer' and leave 'embedded'., guix-commits, 2023/08/12
- 10/16: gnu: Add emacs-math-preview., guix-commits, 2023/08/12
- 04/16: gnu: Add xorgxrdp., guix-commits, 2023/08/12
- 06/16: platform: Add powerpc64-linux., guix-commits, 2023/08/12
- 07/16: gnu: guile-smc: Update to 0.6.1., guix-commits, 2023/08/12
- 09/16: reconfigure: Use let* from srfi-71., guix-commits, 2023/08/12
- 14/16: gnu: gpodder: Update to 3.11.1., guix-commits, 2023/08/12
- 02/16: gnu: uwufetch: Add and use missing inputs., guix-commits, 2023/08/12
- 01/16: gnu: ntp: Fix cross-compilation inputs.,
guix-commits <=
- 03/16: gnu: Add xrdp., guix-commits, 2023/08/12
- 11/16: gnu: conda: Add missing dependency., guix-commits, 2023/08/12
- 13/16: gnu: scsh: Fix version number and use gexps., guix-commits, 2023/08/12
- 16/16: gnu: Add ulauncher., guix-commits, 2023/08/12
- 15/16: gnu: loksh: Update to 7.3., guix-commits, 2023/08/12
- 12/16: gnu: Add cage., guix-commits, 2023/08/12