diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-10 23:19:44 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-04-10 23:23:16 +0300 |
commit | 1130a5f713a0f9235d921c6aa8e49afc8b2a4db2 (patch) | |
tree | 0495439845ab1535eabc48fd4030b38896cdb988 /gnu/packages/textutils.scm | |
parent | 7b63eaf9517fde23523e9791d658345ce76837bd (diff) | |
download | guix-1130a5f713a0f9235d921c6aa8e49afc8b2a4db2.tar guix-1130a5f713a0f9235d921c6aa8e49afc8b2a4db2.tar.gz |
gnu: libconfig: Replace config script helpers.
* gnu/packages/textutils.scm (libconfig)[arguments]: Add phase to
replace config.guess, config.sub.
[native-inputs]: Add config.
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r-- | gnu/packages/textutils.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index fb8bc7e868..d7cb217e17 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Roel Janssen <roel@gnu.org> ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org> ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> -;;; Copyright © 2016, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2018, 2019, 2020, 2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Nikita <nikita@n0.is> ;;; Copyright © 2016, 2020 Marius Bakke <marius@gnu.org> ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org> @@ -527,6 +527,20 @@ character-by-character. (base32 "1rqynfxl1zxwk4b42sniz9xlw285aidcrsfih51p8dy0rbb6clal")))) (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack '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)) "aux-build")) + '("config.guess" "config.sub"))))))) + (native-inputs + (list config)) (synopsis "C/C++ configuration file library") (description "Libconfig is a simple library for manipulating structured configuration |