mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: indent: Remove uneeded arguments.
* gnu/packages/code.scm (indent) [arguments]: Remove field. [native-inputs]: Remove automake.
This commit is contained in:
parent
4915d321ca
commit
d076ae1c7a
1 changed files with 1 additions and 26 deletions
|
@ -881,33 +881,8 @@ the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "15c0ayp9rib7hzvrcxm5ijs0mpagw5y8kf5w0jr9fryfqi7n6r4y"))))
|
(base32 "15c0ayp9rib7hzvrcxm5ijs0mpagw5y8kf5w0jr9fryfqi7n6r4y"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-docdir
|
|
||||||
(lambda _
|
|
||||||
;; Although indent uses a modern autoconf in which docdir
|
|
||||||
;; defaults to PREFIX/share/doc, the doc/Makefile.am
|
|
||||||
;; overrides this to be in PREFIX/doc. Fix this.
|
|
||||||
(substitute* "doc/Makefile.in"
|
|
||||||
(("^docdir = .*$") "docdir = @docdir@\n"))
|
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'fix-configure
|
|
||||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
||||||
;; Replace outdated config.sub and config.guess:
|
|
||||||
(with-directory-excursion "config"
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(install-file
|
|
||||||
(string-append (assoc-ref
|
|
||||||
(or native-inputs inputs) "automake")
|
|
||||||
"/share/automake-"
|
|
||||||
,(version-major+minor
|
|
||||||
(package-version automake))
|
|
||||||
"/" file) "."))
|
|
||||||
'("config.sub" "config.guess")))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list texinfo automake)) ; For up to date 'config.guess' and 'config.sub'.
|
(list texinfo))
|
||||||
(synopsis "Code reformatter")
|
(synopsis "Code reformatter")
|
||||||
(description
|
(description
|
||||||
"Indent is a program that makes source code easier to read by
|
"Indent is a program that makes source code easier to read by
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue