mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: mozjs: Make milestone.pl compatible with Perl 5.22+.
* gnu/packages/gnuzilla.scm (mozjs, mozjs-24)[source]: Add snippet.
This commit is contained in:
parent
1022da10e1
commit
6871628999
1 changed files with 12 additions and 2 deletions
|
@ -64,7 +64,12 @@ (define-public mozjs
|
||||||
name version ".tar.gz"))
|
name version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fig2wf4f10v43mqx67y68z6h77sy900d1w0pz9qarrqx57rc7ij"))))
|
"1fig2wf4f10v43mqx67y68z6h77sy900d1w0pz9qarrqx57rc7ij"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Fix incompatibility with Perl 5.22+.
|
||||||
|
'(substitute* '("js/src/config/milestone.pl")
|
||||||
|
(("defined\\(@TEMPLATE_FILE)") "@TEMPLATE_FILE")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl", perl)
|
`(("perl", perl)
|
||||||
|
@ -103,7 +108,12 @@ (define-public mozjs-24
|
||||||
name "-" version ".tar.bz2"))
|
name "-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n1phk8r3l8icqrrap4czplnylawa0ddc2cc4cgdz46x3lrkybz6"))))
|
"1n1phk8r3l8icqrrap4czplnylawa0ddc2cc4cgdz46x3lrkybz6"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Fix incompatibility with Perl 5.22+.
|
||||||
|
'(substitute* '("js/src/config/milestone.pl")
|
||||||
|
(("defined\\(@TEMPLATE_FILE)") "@TEMPLATE_FILE")))))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Loading…
Reference in a new issue