mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05: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 @@ (define-public perl-inline-c
|
|||
(base32
|
||||
"1b3sr39813di3j1kwbgn1xq2z726rhjjdw809ydzgmshj26jb1gi"))))
|
||||
(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
|
||||
`(("perl-file-copy-recursive" ,perl-file-copy-recursive)
|
||||
("perl-file-sharedir-install" ,perl-file-sharedir-install)
|
||||
|
|
Loading…
Reference in a new issue