guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: git: Fix builds with Make 4.2.


From: Ludovic Courtès
Subject: 03/03: gnu: git: Fix builds with Make 4.2.
Date: Mon, 27 Jun 2016 07:51:20 +0000 (UTC)

civodul pushed a commit to branch core-updates
in repository guix.

commit 8601feaea66977bcf559090f98bb1bda091273fa
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jun 27 09:50:56 2016 +0200

    gnu: git: Fix builds with Make 4.2.
    
    * gnu/packages/version-control.scm (git)[arguments]: Add 'add-PM.stamp'
    phase.
---
 gnu/packages/version-control.scm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9d5a808..e6e7e00 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -173,6 +173,11 @@ as well as the classic centralized workflow.")
               (("/bin/sh") (which "sh"))
               (("/usr/bin/perl") (which "perl"))
               (("/usr/bin/python") (which "python")))))
+        (add-after 'configure 'add-PM.stamp
+          (lambda _
+            ;; Add the "PM.stamp" to avoid "no rule to make target".
+            (call-with-output-file "perl/PM.stamp" (const #t))
+            #t))
         (add-after 'install 'install-shell-completion
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out         (assoc-ref outputs "out"))



reply via email to

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