[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/42: gnu: isc-dhcp: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
37/42: gnu: isc-dhcp: Fix building on riscv64-linux. |
Date: |
Fri, 8 Oct 2021 04:20:25 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 4265ea1f42c658788a2433775013b448ae53e0f8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 2 15:20:37 2021 +0300
gnu: isc-dhcp: Fix building on riscv64-linux.
* gnu/packages/admin.scm (isc-dhcp)[arguments]: Add phase to update
configure scripts.
[inputs]: Add config.
---
gnu/packages/admin.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index aad8586..b9b50c7 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1231,6 +1231,21 @@ connection alive.")
(setenv "BUILD_CC" "gcc")
#t)))
'())
+ (add-before 'build 'update-config-scripts
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (for-each (lambda (file)
+ (install-file
+ (search-input-file
+ (or native-inputs inputs)
+ (string-append "/bin/" file)) "."))
+ '("config.guess" "config.sub"))
+ (for-each (lambda (file)
+ (install-file
+ (search-input-file
+ (or native-inputs inputs)
+ (string-append "/bin/" file))
+ (string-append "bind/bind-" ,bind-version)))
+ '("config.guess" "config.sub"))))
(add-after 'configure 'post-configure
(lambda* (#:key outputs #:allow-other-keys)
;; Point to the right client script, which will be
@@ -1336,6 +1351,7 @@ connection alive.")
(base32
"0hhkb4d14hvly2751cxl2s2xyim3bri8qaisgkcm456xfi5wpy6b"))))
+ ("config" ,config)
("coreutils*" ,coreutils)
("sed*" ,sed)))
- 17/42: gnu: openlibm: Remove riscv64-linux from supported systems., (continued)
- 17/42: gnu: openlibm: Remove riscv64-linux from supported systems., guix-commits, 2021/10/08
- 20/42: gnu: lapack: Fix building on riscv64-linux., guix-commits, 2021/10/08
- 22/42: gnu: Add libunwind-next., guix-commits, 2021/10/08
- 24/42: gnu: libaio: Fix test suite on riscv64-linux., guix-commits, 2021/10/08
- 29/42: gnu: nss: Adjust make-flags for riscv64-linux., guix-commits, 2021/10/08
- 25/42: gnu: libfaketime: Adjust flags on riscv64-linux., guix-commits, 2021/10/08
- 28/42: gnu: webrtc-audio-processing: Fix riscv64 detection., guix-commits, 2021/10/08
- 30/42: system: system-linux-image-file-name: Set kernel name for riscv64-linux., guix-commits, 2021/10/08
- 35/42: gnu: make-opensbi-package: Fix native building., guix-commits, 2021/10/08
- 38/42: build-system/meson: Fix cross-building to riscv64-linux., guix-commits, 2021/10/08
- 37/42: gnu: isc-dhcp: Fix building on riscv64-linux.,
guix-commits <=
- 32/42: gnu: u-boot-sifive-unmatched: Build with opensbi., guix-commits, 2021/10/08
- 36/42: gnu: postgresql: Fix building on riscv64-linux., guix-commits, 2021/10/08
- 39/42: gnu: gtk+: Remove some more failing tests., guix-commits, 2021/10/08
- 41/42: system: Add riscv64 support., guix-commits, 2021/10/08
- 40/42: gnu: Add u-boot-sifive-unmatched-bootloader., guix-commits, 2021/10/08
- 33/42: gnu: dtc: Build without valgrind on riscv64-linux., guix-commits, 2021/10/08
- 34/42: gnu: php: Skip tests failing on riscv64-linux., guix-commits, 2021/10/08
- 31/42: gnu: make-opensbi-package: Adjust installed files., guix-commits, 2021/10/08
- 42/42: gnu: libx264: Fix building on riscv64-linux., guix-commits, 2021/10/08