unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51684] [PATCH] gnu: perl-inline-c: Patch paths to ‘make’.
@ 2021-11-08 10:02 Xinglu Chen
  2021-11-17 15:21 ` bug#51684: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-11-08 10:02 UTC (permalink / raw)
  To: 51684

* 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







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51684: [PATCH] gnu: perl-inline-c: Patch paths to ‘make’.
  2021-11-08 10:02 [bug#51684] [PATCH] gnu: perl-inline-c: Patch paths to ‘make’ Xinglu Chen
@ 2021-11-17 15:21 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-11-17 15:21 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 51684-done

Hello,

Xinglu Chen <public@yoctocell.xyz> skribis:

> * gnu/packages/perl.scm (perl-inline-c)[arguments]<#:phases>{patch-paths}: New
>   phase.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 10:02 [bug#51684] [PATCH] gnu: perl-inline-c: Patch paths to ‘make’ Xinglu Chen
2021-11-17 15:21 ` bug#51684: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).