[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/59: gnu: perl: Support cross-building for the 64bit Hurd.
From: |
guix-commits |
Subject: |
36/59: gnu: perl: Support cross-building for the 64bit Hurd. |
Date: |
Mon, 11 Nov 2024 09:56:09 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 05a9e4531639c0b21f2cb936d9fd605539360315
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Nov 7 13:16:25 2024 +0100
gnu: perl: Support cross-building for the 64bit Hurd.
* gnu/packages/cross-base.scm (perl)[native-inputs]: When cross-building for
the 64bit Hurd, use perl-cross-1.6.
Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15
---
gnu/packages/perl.scm | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index faaac13bf1..2ea7c49419 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -248,14 +248,18 @@
(native-inputs
(if (%current-target-system)
`(("perl-cross"
- ,(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/arsv/perl-cross")
- (commit "1.4")))
- (file-name (git-file-name "perl-cross" "1.4"))
- (sha256
- (base32
"1ydjvlhrk06ccyj4bm8by7xk90krsll2k380mc3x1mhfrc7r9gzy")))))
+ ,(let ((version (if (target-hurd64?) "1.6" "1.4"))
+ (hash
+ (if (target-hurd64?)
+ "0s06lkx5b79r9cn6pm5p6d4jbdjq7wg7rjr75nw5xdhw1z3wnl2d"
+
"1ydjvlhrk06ccyj4bm8by7xk90krsll2k380mc3x1mhfrc7r9gzy")))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/arsv/perl-cross")
+ (commit version)))
+ (file-name (git-file-name "perl-cross" version))
+ (sha256 (base32 hash))))))
'()))
(native-search-paths (list (search-path-specification
(variable "PERL5LIB")
- 33/59: system: image: Add hurd64 image types., (continued)
- 33/59: system: image: Add hurd64 image types., guix-commits, 2024/11/11
- 34/59: gnu: Add libgpg-error-1.50., guix-commits, 2024/11/11
- 16/59: installer: Add "Kernel" page to select the Hurd., guix-commits, 2024/11/11
- 11/59: installer: Align comments., guix-commits, 2024/11/11
- 14/59: installer: Use `%' for parameter %run-command-in-installer., guix-commits, 2024/11/11
- 19/59: gnu: mig: Update to v1.8+git20231217., guix-commits, 2024/11/11
- 07/59: hurd-boot: Support second boot., guix-commits, 2024/11/11
- 12/59: installer: Use "partitioning-page" consistently., guix-commits, 2024/11/11
- 23/59: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/11
- 35/59: gnu: libgcrypt: Use libgpg-error-1.50 for the 64bit Hurd., guix-commits, 2024/11/11
- 36/59: gnu: perl: Support cross-building for the 64bit Hurd.,
guix-commits <=
- 46/59: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 18/59: installer: Support dry-run from Guile via store., guix-commits, 2024/11/11
- 15/59: installer: Add dry-run?, guix-commits, 2024/11/11
- 04/59: system: hurd: Remove qemu networking from %base-services/hurd., guix-commits, 2024/11/11
- 06/59: gnu: hurd: Support second boot., guix-commits, 2024/11/11
- 20/59: gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/11
- 13/59: installer: Fix file-name typos., guix-commits, 2024/11/11
- 25/59: gnu: bash-minimal: Fix build for 64bit Hurd., guix-commits, 2024/11/11
- 10/59: installer: Remove unused (newt) imports., guix-commits, 2024/11/11
- 29/59: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/11