gnu: qpdf: Use 'modify-phases'.
* gnu/packages/pdf.scm (qpdf)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
74a3c4bb6c
commit
0adfe0ccbe
|
@ -527,17 +527,17 @@ eval '(exit $?0)' && eval 'exec perl -wS \"$0\" ${1+\"$@\"}'
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references (,perl)
|
`(#:disallowed-references (,perl)
|
||||||
#:phases (alist-cons-before
|
#:phases
|
||||||
'configure 'patch-paths
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-before 'configure 'patch-paths
|
||||||
(substitute* "make/libtool.mk"
|
(lambda _
|
||||||
(("SHELL=/bin/bash")
|
(substitute* "make/libtool.mk"
|
||||||
(string-append "SHELL=" (which "bash"))))
|
(("SHELL=/bin/bash")
|
||||||
(substitute* (append
|
(string-append "SHELL=" (which "bash"))))
|
||||||
'("qtest/bin/qtest-driver")
|
(substitute* (append
|
||||||
(find-files "." "\\.test"))
|
'("qtest/bin/qtest-driver")
|
||||||
(("/usr/bin/env") (which "env"))))
|
(find-files "." "\\.test"))
|
||||||
%standard-phases)))
|
(("/usr/bin/env") (which "env"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("perl" ,perl)))
|
("perl" ,perl)))
|
||||||
|
|
Loading…
Reference in New Issue