emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51684: closed ([PATCH] gnu: perl-inline-c: Patch paths to ‘make’.)


From: GNU bug Tracking System
Subject: bug#51684: closed ([PATCH] gnu: perl-inline-c: Patch paths to ‘make’.)
Date: Wed, 17 Nov 2021 15:23:02 +0000

Your message dated Wed, 17 Nov 2021 16:21:56 +0100
with message-id <87zgq2vmcr.fsf@gnu.org>
and subject line Re: bug#51684: [PATCH] gnu: perl-inline-c: Patch paths to 
‘make’.
has caused the debbugs.gnu.org bug report #51684,
regarding [PATCH] gnu: perl-inline-c: Patch paths to ‘make’.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51684: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51684
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: perl-inline-c: Patch paths to ‘make’. Date: Mon, 08 Nov 2021 11:02:06 +0100
* 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






--- End Message ---
--- Begin Message --- Subject: Re: bug#51684: [PATCH] gnu: perl-inline-c: Patch paths to ‘make’. Date: Wed, 17 Nov 2021 16:21:56 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Xinglu Chen <public@yoctocell.xyz> skribis:

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

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]