[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/37: gnu: isc-dhcp: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
33/37: gnu: isc-dhcp: Fix building on riscv64-linux. |
Date: |
Thu, 14 Oct 2021 14:41:28 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 016b48d9009d9133509e2fd74c54a4dfb21b53a3
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 4d4e18e..71a0961 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)))
- 25/37: gnu: nss: Adjust make-flags for riscv64-linux., (continued)
- 25/37: gnu: nss: Adjust make-flags for riscv64-linux., guix-commits, 2021/10/14
- 30/37: gnu: php: Skip tests failing on riscv64-linux., guix-commits, 2021/10/14
- 32/37: gnu: postgresql: Fix building on riscv64-linux., guix-commits, 2021/10/14
- 37/37: gnu: libx264: Fix building on riscv64-linux., guix-commits, 2021/10/14
- 18/37: gnu: Add libunwind-next., guix-commits, 2021/10/14
- 24/37: gnu: webrtc-audio-processing: Fix riscv64 detection., guix-commits, 2021/10/14
- 29/37: gnu: dtc: Build without valgrind on riscv64-linux., guix-commits, 2021/10/14
- 31/37: gnu: make-opensbi-package: Fix native building., guix-commits, 2021/10/14
- 19/37: gnu: Use libunwind-next for riscv64-linux., guix-commits, 2021/10/14
- 27/37: gnu: make-opensbi-package: Adjust installed files., guix-commits, 2021/10/14
- 33/37: gnu: isc-dhcp: Fix building on riscv64-linux.,
guix-commits <=
- 35/37: gnu: gtk+: Remove some more failing tests., guix-commits, 2021/10/14
- 36/37: gnu: Add u-boot-sifive-unmatched-bootloader., guix-commits, 2021/10/14