gnu: xorg-server: Use 'modify-phases' syntax.

* gnu/packages/xorg.scm (xorg-server)[arguments]: Use 'modify-phases'.
This commit is contained in:
Marius Bakke 2017-01-25 14:26:04 +01:00
parent 404e48c4ed
commit 10cd39d1e0
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 12 additions and 10 deletions

View File

@ -5066,17 +5066,19 @@ over Xlib, including:
"--enable-kdrive"
"--enable-xephyr")
#:phases (alist-cons-before
'configure 'pre-configure
(lambda _
(substitute* (find-files "." "\\.c$")
(("/bin/sh") (which "sh")))
#:phases
(modify-phases %standard-phases
(add-before
'configure 'pre-configure
(lambda _
(substitute* (find-files "." "\\.c$")
(("/bin/sh") (which "sh")))
;; Don't try to 'mkdir /var'.
(substitute* "hw/xfree86/Makefile.in"
(("\\$\\(MKDIR_P\\).*logdir.*")
"true\n")))
%standard-phases)))
;; Don't try to 'mkdir /var'.
(substitute* "hw/xfree86/Makefile.in"
(("\\$\\(MKDIR_P\\).*logdir.*")
"true\n"))
#t)))))
(home-page "https://www.x.org/wiki/")
(synopsis "Xorg implementation of the X Window System")
(description