gnu: gdb: Normalize indentation.
* gnu/packages/gdb.scm (gdb-10): Fix indentation and remove extraneous newlines. Remove trailing #t. (gdb-minimal): Fix indentation.
This commit is contained in:
parent
41f058d10d
commit
8a613f9d4e
1 changed files with 46 additions and 54 deletions
|
@ -62,12 +62,9 @@
|
|||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
`(#:tests? #f ; FIXME "make check" fails on single-processor systems.
|
||||
|
||||
#:out-of-source? #t
|
||||
|
||||
#:modules ((srfi srfi-1)
|
||||
,@%gnu-build-system-modules)
|
||||
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
@ -77,14 +74,11 @@
|
|||
"gdbsupport/pathstuff.cc")
|
||||
(("\"/bin/sh\"")
|
||||
(format #f "~s" sh))))))
|
||||
(add-after
|
||||
'configure 'post-configure
|
||||
(add-after 'configure 'post-configure
|
||||
(lambda _
|
||||
(for-each patch-makefile-SHELL
|
||||
(find-files "." "Makefile\\.in"))
|
||||
#t))
|
||||
(add-after
|
||||
'install 'remove-libs-already-in-binutils
|
||||
(find-files "." "Makefile\\.in"))))
|
||||
(add-after 'install 'remove-libs-already-in-binutils
|
||||
(lambda* (#:key native-inputs inputs outputs
|
||||
#:allow-other-keys)
|
||||
;; Like Binutils, GDB installs libbfd, libopcodes, etc.
|
||||
|
@ -103,8 +97,7 @@
|
|||
(common (lset-intersection string=?
|
||||
files1 files2)))
|
||||
(with-directory-excursion out
|
||||
(for-each delete-file common)
|
||||
#t)))))))
|
||||
(for-each delete-file common))))))))
|
||||
(inputs
|
||||
`(("bash" ,bash)
|
||||
("expat" ,expat)
|
||||
|
@ -187,8 +180,7 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
|
|||
gdb-10)
|
||||
|
||||
(define-public gdb-minimal
|
||||
(package/inherit
|
||||
gdb
|
||||
(package/inherit gdb
|
||||
(name "gdb-minimal")
|
||||
(inputs (fold alist-delete (package-inputs gdb)
|
||||
'("libxml2" "ncurses" "python-wrapper" "source-highlight")))))
|
||||
|
|
Reference in a new issue