gnu: isc-dhcp: Fix cross-compiling to riscv64-linux.
* gnu/packages/admin.scm (isc-dhcp)[arugments]: Split custom 'update-config-scripts phase to substitute one set of config scripts earlier in the build process.
This commit is contained in:
parent
be810d414f
commit
e7532d281b
@ -1382,14 +1382,16 @@ connection alive.")
|
|||||||
;; build system uses the built 'gen' executable.
|
;; build system uses the built 'gen' executable.
|
||||||
(setenv "BUILD_CC" "gcc"))))
|
(setenv "BUILD_CC" "gcc"))))
|
||||||
'())
|
'())
|
||||||
(add-before 'build 'update-config-scripts
|
(add-before 'configure 'update-config-scripts
|
||||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file
|
(install-file
|
||||||
(search-input-file
|
(search-input-file
|
||||||
(or native-inputs inputs)
|
(or native-inputs inputs)
|
||||||
(string-append "/bin/" file)) "."))
|
(string-append "/bin/" file)) "."))
|
||||||
'("config.guess" "config.sub"))
|
'("config.guess" "config.sub"))))
|
||||||
|
(add-before 'build 'update-config-scripts-for-bind
|
||||||
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file
|
(install-file
|
||||||
(search-input-file
|
(search-input-file
|
||||||
|
Loading…
Reference in New Issue
Block a user