me
/
guix
Archived
1
0
Fork 0

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>
master
Xinglu Chen 2021-11-08 11:02:06 +01:00 committed by Ludovic Courtès
parent 4ace645506
commit 77483d6b61
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 0 deletions

View File

@ -5399,6 +5399,17 @@ for immediate access from Perl.")
(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)