gnu: inetutils: Convert to gexp.

* gnu/packages/admin.scm (inetutils): Convert to gexp; fix indentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ic61fa69040b4e554ad8303192167f331bec4e863
This commit is contained in:
Felix Lechner 2023-03-12 18:21:54 -07:00 committed by Ludovic Courtès
parent 02fb3328f7
commit 8c8f07785f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -973,14 +973,16 @@ re-executing them as necessary.")
"0q1257ci22g2jbdiqs00mharc1lqkbibdlkhj23f3si6qjxkn17s")))) "0q1257ci22g2jbdiqs00mharc1lqkbibdlkhj23f3si6qjxkn17s"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--localstatedir=/var" (list
#:configure-flags
#~(list "--localstatedir=/var"
;; Make sure 'PATH_PROCNET_DEV' gets defined when ;; Make sure 'PATH_PROCNET_DEV' gets defined when
;; cross-compiling (by default it does not.) ;; cross-compiling (by default it does not.)
,@(if (%current-target-system) #$@(if (%current-target-system)
'("--with-path-procnet-dev=/proc/net/dev") '("--with-path-procnet-dev=/proc/net/dev")
'()) '())
,@(if (target-hurd?) #$@(if (target-hurd?)
'("--disable-rcp" '("--disable-rcp"
"--disable-rexec" "--disable-rexec"
"--disable-rexecd" "--disable-rexecd"
@ -993,7 +995,7 @@ re-executing them as necessary.")
'())) '()))
;; Make sure that canonical "coreutils" package is not referred. ;; Make sure that canonical "coreutils" package is not referred.
#:make-flags #:make-flags
(list (string-append "CPPFLAGS=-DPATHDEF_CP=\\\"" #~(list (string-append "CPPFLAGS=-DPATHDEF_CP=\\\""
(search-input-file %build-inputs "bin/cp") (search-input-file %build-inputs "bin/cp")
"\\\"")) "\\\""))
;; On some systems, 'libls.sh' may fail with an error such as: ;; On some systems, 'libls.sh' may fail with an error such as: