gnu: git: Fix builds with Make 4.2.

* gnu/packages/version-control.scm (git)[arguments]: Add 'add-PM.stamp'
phase.
This commit is contained in:
Ludovic Courtès 2016-06-27 09:50:56 +02:00
parent 98378db6ba
commit 8601feaea6
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 0 deletions

View File

@ -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"))