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