gnu: wine: Use 'modify-phases' syntax.
* gnu/packages/wine.scm (wine)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
658c987fdd
commit
07cda02c5b
|
@ -118,8 +118,8 @@
|
||||||
(list "SHELL=bash")
|
(list "SHELL=bash")
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(alist-cons-after
|
(modify-phases %standard-phases
|
||||||
'configure 'patch-dlopen-paths
|
(add-after 'configure 'patch-dlopen-paths
|
||||||
;; Hardcode dlopened sonames to absolute paths.
|
;; Hardcode dlopened sonames to absolute paths.
|
||||||
(lambda _
|
(lambda _
|
||||||
(let* ((library-path (search-path-as-string->list
|
(let* ((library-path (search-path-as-string->list
|
||||||
|
@ -128,8 +128,8 @@
|
||||||
(search-path library-path soname))))
|
(search-path library-path soname))))
|
||||||
(substitute* "include/config.h"
|
(substitute* "include/config.h"
|
||||||
(("(#define SONAME_.* )\"(.*)\"" _ defso soname)
|
(("(#define SONAME_.* )\"(.*)\"" _ defso soname)
|
||||||
(format #f "~a\"~a\"" defso (find-so soname))))))
|
(format #f "~a\"~a\"" defso (find-so soname))))
|
||||||
%standard-phases)))
|
#t))))))
|
||||||
(home-page "https://www.winehq.org/")
|
(home-page "https://www.winehq.org/")
|
||||||
(synopsis "Implementation of the Windows API")
|
(synopsis "Implementation of the Windows API")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue