guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: git: Prevent creating 'perllocal.pod'.


From: Marius Bakke
Subject: 01/06: gnu: git: Prevent creating 'perllocal.pod'.
Date: Sun, 18 Jun 2017 12:38:48 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 0fff1495bc83f872c13bc9d407b87801c6dcce99
Author: Marius Bakke <address@hidden>
Date:   Sat Jun 17 16:50:44 2017 +0200

    gnu: git: Prevent creating 'perllocal.pod'.
    
    * gnu/packages/version-control.scm (git)[arguments]<#:phases>: Rename
    'patch-makefile-shebangs' to 'patch-makefiles'. Add substitution.
---
 gnu/packages/version-control.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 953440a..a412ef8 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -186,12 +186,16 @@ as well as the classic centralized workflow.")
                  ,@%gnu-build-system-modules)
       #:phases
       (modify-phases %standard-phases
-        (add-after 'configure 'patch-makefile-shebangs
+        (add-after 'configure 'patch-makefiles
           (lambda _
             (substitute* "Makefile"
               (("/bin/sh") (which "sh"))
               (("/usr/bin/perl") (which "perl"))
-              (("/usr/bin/python") (which "python")))))
+              (("/usr/bin/python") (which "python")))
+            (substitute* "perl/Makefile"
+              ;; Don't create timestamped 'perllocal.pod'.
+              (("\\$< PREFIX=") "$< NO_PERLLOCAL=1 PREFIX="))
+            #t))
         (add-after 'configure 'add-PM.stamp
           (lambda _
             ;; Add the "PM.stamp" to avoid "no rule to make target".



reply via email to

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