[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: perl-inline-c: Patch paths to ‘make’.
From: |
guix-commits |
Subject: |
02/13: gnu: perl-inline-c: Patch paths to ‘make’. |
Date: |
Wed, 17 Nov 2021 17:07:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 77483d6b61ca7a706acb07fd9e7b6ee269a93562
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Mon Nov 8 11:02:06 2021 +0100
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>
---
gnu/packages/perl.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 838e942..5973805 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -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)
- branch master updated (6bffa13 -> 94fbcf7), guix-commits, 2021/11/17
- 01/13: services: docker: Add 'environment-variables' configuration field., guix-commits, 2021/11/17
- 02/13: gnu: perl-inline-c: Patch paths to ‘make’.,
guix-commits <=
- 03/13: gnu: shellcheck: Update to 0.8.0., guix-commits, 2021/11/17
- 05/13: gnu: ristretto: Update to 0.12.0., guix-commits, 2021/11/17
- 06/13: gnu: xfce4-whiskermenu-plugin: Update to 2.6.1., guix-commits, 2021/11/17
- 08/13: gnu: tidy-html: Update to 5.8.0., guix-commits, 2021/11/17
- 04/13: gnu: xfce4-cpugraph-plugin: Update to 1.2.5., guix-commits, 2021/11/17
- 09/13: doc: Improve wording for param spec of `./configure`., guix-commits, 2021/11/17
- 10/13: diagnostics: Add syntax to capture arguments' syntax-properties., guix-commits, 2021/11/17
- 11/13: gnu: system: Improve location of some configuration warnings., guix-commits, 2021/11/17
- 07/13: scripts: home: Make ‘guix home import’ write home-configuration.scm., guix-commits, 2021/11/17
- 12/13: gnu: rcs: Install rcsfreeze., guix-commits, 2021/11/17