From 8601feaea66977bcf559090f98bb1bda091273fa Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 27 Jun 2016 09:50:56 +0200 Subject: 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 9d5a808e3b..e6e7e0011b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -173,6 +173,11 @@ (define-public git (("/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")) -- cgit v1.2.3