From: Xinglu Chen <public@yoctocell.xyz>
To: 51684@debbugs.gnu.org
Subject: [bug#51684] [PATCH] gnu: perl-inline-c: Patch paths to ‘make’.
Date: Mon, 08 Nov 2021 11:02:06 +0100 [thread overview]
Message-ID: <cbc05966175d6a423bf07963494460031ef962a0.1636365709.git.public@yoctocell.xyz> (raw)
* gnu/packages/perl.scm (perl-inline-c)[arguments]<#:phases>{patch-paths}: New
phase.
---
gnu/packages/perl.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5d4843d39a..166ed5230c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -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)
base-commit: f52719dfad7b7d3beb2b1211b6846196f3590823
--
2.33.0
next reply other threads:[~2021-11-08 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 10:02 Xinglu Chen [this message]
2021-11-17 15:21 ` bug#51684: [PATCH] gnu: perl-inline-c: Patch paths to ‘make’ Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cbc05966175d6a423bf07963494460031ef962a0.1636365709.git.public@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=51684@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.