gnu: ngircd: Use ‘modify-phases’ syntax.
* gnu/packages/messaging.scm (ngircd)[arguments]: Use ‘modify-phases’.
This commit is contained in:
parent
4fd95d9170
commit
341ed63f47
|
@ -235,9 +235,9 @@ dictionaries. HexChat can be extended with multiple addons.")
|
||||||
'("--with-pam")
|
'("--with-pam")
|
||||||
'()))
|
'()))
|
||||||
#:phases
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
;; Necessary for the test suite.
|
;; Necessary for the test suite.
|
||||||
(alist-cons-after
|
(add-after 'configure 'post-configure
|
||||||
'configure 'post-configure
|
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/ngircd/Makefile"
|
(substitute* "src/ngircd/Makefile"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
@ -249,14 +249,13 @@ dictionaries. HexChat can be extended with multiple addons.")
|
||||||
(string-append
|
(string-append
|
||||||
"#!" (which "sh") "\n"
|
"#!" (which "sh") "\n"
|
||||||
"ps -C \"$1\" -o pid=\n"))))
|
"ps -C \"$1\" -o pid=\n"))))
|
||||||
;; Our variant of getpid.sh does not work for interpreter names if a
|
;; Our variant of getpid.sh does not match interpreter names
|
||||||
;; shebang script is run directly as "./foo", so patch cases where
|
;; when the script's shebang is invoked directly as "./foo".
|
||||||
;; the test suite relies on this.
|
;; Patch cases where the test suite relies on this.
|
||||||
(substitute* "src/testsuite/start-server.sh"
|
(substitute* "src/testsuite/start-server.sh"
|
||||||
;; It runs 'getpid.sh sh' to test if it works at all. Run it on
|
;; It runs 'getpid.sh sh' to test if it works at all. Run it on
|
||||||
;; 'make' instead.
|
;; 'make' instead.
|
||||||
(("getpid.sh sh") "getpid.sh make")))
|
(("getpid.sh sh") "getpid.sh make")))))))
|
||||||
%standard-phases)))
|
|
||||||
(home-page "http://ngircd.barton.de/")
|
(home-page "http://ngircd.barton.de/")
|
||||||
(synopsis "Lightweight Internet Relay Chat server for small networks")
|
(synopsis "Lightweight Internet Relay Chat server for small networks")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue