me
/
guix
Archived
1
0
Fork 0

gnu: git: Prevent creating 'perllocal.pod'.

* gnu/packages/version-control.scm (git)[arguments]<#:phases>: Rename
'patch-makefile-shebangs' to 'patch-makefiles'. Add substitution.
master
Marius Bakke 2017-06-17 16:50:44 +02:00
parent e1287aed0c
commit 0fff1495bc
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 2 deletions

View File

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