aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-27 09:50:56 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-27 09:50:56 +0200
commit8601feaea66977bcf559090f98bb1bda091273fa (patch)
tree688f73c8c785b0f0d05c5c4acf3863244c67d666
parent98378db6bac5ad7b4fa680f832ade78dd0bcce95 (diff)
downloadpatches-8601feaea66977bcf559090f98bb1bda091273fa.tar
patches-8601feaea66977bcf559090f98bb1bda091273fa.tar.gz
gnu: git: Fix builds with Make 4.2.
* gnu/packages/version-control.scm (git)[arguments]: Add 'add-PM.stamp' phase.
-rw-r--r--gnu/packages/version-control.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9d5a808e3b..e6e7e0011b 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"))