diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2024-11-03 17:02:07 +0100 |
|---|---|---|
| committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-04 17:36:29 +0800 |
| commit | d076ae1c7a3ab34c1d7103b70887eedb2e38a0f5 (patch) | |
| tree | affbf54a4b53c02d28eb11a006e448220ad4ac33 /gnu/packages/code.scm | |
| parent | 4915d321ca473dd91ac1dfb9aa71ae315307140e (diff) | |
gnu: indent: Remove uneeded arguments.
* gnu/packages/code.scm (indent)
[arguments]: Remove field.
[native-inputs]: Remove automake.
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 3f7a6de478a..b1523f5ac78 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -881,33 +881,8 @@ the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.") | |||
| 881 | (sha256 | 881 | (sha256 |
| 882 | (base32 "15c0ayp9rib7hzvrcxm5ijs0mpagw5y8kf5w0jr9fryfqi7n6r4y")))) | 882 | (base32 "15c0ayp9rib7hzvrcxm5ijs0mpagw5y8kf5w0jr9fryfqi7n6r4y")))) |
| 883 | (build-system gnu-build-system) | 883 | (build-system gnu-build-system) |
| 884 | (arguments | ||
| 885 | `(#:phases | ||
| 886 | (modify-phases %standard-phases | ||
| 887 | (add-after 'unpack 'fix-docdir | ||
| 888 | (lambda _ | ||
| 889 | ;; Although indent uses a modern autoconf in which docdir | ||
| 890 | ;; defaults to PREFIX/share/doc, the doc/Makefile.am | ||
| 891 | ;; overrides this to be in PREFIX/doc. Fix this. | ||
| 892 | (substitute* "doc/Makefile.in" | ||
| 893 | (("^docdir = .*$") "docdir = @docdir@\n")) | ||
| 894 | #t)) | ||
| 895 | (add-after 'unpack 'fix-configure | ||
| 896 | (lambda* (#:key inputs native-inputs #:allow-other-keys) | ||
| 897 | ;; Replace outdated config.sub and config.guess: | ||
| 898 | (with-directory-excursion "config" | ||
| 899 | (for-each (lambda (file) | ||
| 900 | (install-file | ||
| 901 | (string-append (assoc-ref | ||
| 902 | (or native-inputs inputs) "automake") | ||
| 903 | "/share/automake-" | ||
| 904 | ,(version-major+minor | ||
| 905 | (package-version automake)) | ||
| 906 | "/" file) ".")) | ||
| 907 | '("config.sub" "config.guess"))) | ||
| 908 | #t))))) | ||
| 909 | (native-inputs | 884 | (native-inputs |
| 910 | (list texinfo automake)) ; For up to date 'config.guess' and 'config.sub'. | 885 | (list texinfo)) |
| 911 | (synopsis "Code reformatter") | 886 | (synopsis "Code reformatter") |
| 912 | (description | 887 | (description |
| 913 | "Indent is a program that makes source code easier to read by | 888 | "Indent is a program that makes source code easier to read by |
