mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: perl-inline-c: Patch paths to ‘make’.
* gnu/packages/perl.scm (perl-inline-c)[arguments]<#:phases>{patch-paths}: New phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4ace645506
commit
77483d6b61
1 changed files with 11 additions and 0 deletions
|
@ -5399,6 +5399,17 @@ for immediate access from Perl.")
|
||||||
(base32
|
(base32
|
||||||
"1b3sr39813di3j1kwbgn1xq2z726rhjjdw809ydzgmshj26jb1gi"))))
|
"1b3sr39813di3j1kwbgn1xq2z726rhjjdw809ydzgmshj26jb1gi"))))
|
||||||
(build-system perl-build-system)
|
(build-system perl-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((make (assoc-ref inputs "make")))
|
||||||
|
(substitute* "lib/Inline/C.pm"
|
||||||
|
(("'\"make\"'")
|
||||||
|
(string-append "'\"" make "/bin/make\"'"))
|
||||||
|
(("'\"make install\"'")
|
||||||
|
(string-append "'\"" make "/bin/make install\"'")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl-file-copy-recursive" ,perl-file-copy-recursive)
|
`(("perl-file-copy-recursive" ,perl-file-copy-recursive)
|
||||||
("perl-file-sharedir-install" ,perl-file-sharedir-install)
|
("perl-file-sharedir-install" ,perl-file-sharedir-install)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue