[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: varnish: Use absolute file name of "rm".
From: |
Marius Bakke |
Subject: |
10/11: gnu: varnish: Use absolute file name of "rm". |
Date: |
Tue, 25 Sep 2018 18:40:23 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 5f33e9063b9b047801d0206e7a74eee8bf6fc52d
Author: Marius Bakke <address@hidden>
Date: Sun Aug 26 23:31:10 2018 +0200
gnu: varnish: Use absolute file name of "rm".
* gnu/packages/web.scm (varnish)[arguments]: Rename 'patch-bin-sh-phase to
'use-absolute-file-names and add substitution.
---
gnu/packages/web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b6bee57..26c2e91 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5019,12 +5019,14 @@ deployments.")
"--localstatedir=/var")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'patch-/bin/sh
+ (add-after 'unpack 'use-absolute-file-names
(lambda _
(substitute* '("bin/varnishtest/vtc_varnish.c"
"bin/varnishtest/vtc_process.c"
"bin/varnishd/mgt/mgt_vcc.c")
(("/bin/sh") (which "sh")))
+ (substitute* "bin/varnishd/mgt/mgt_shmem.c"
+ (("rm -rf") (string-append (which "rm") " -rf")))
#t))
(add-before 'install 'patch-Makefile
(lambda _
- branch master updated (88268a3 -> 3b97a17), Marius Bakke, 2018/09/25
- 03/11: gnu: enchant: Don't build libenchant.a., Marius Bakke, 2018/09/25
- 01/11: git-download: Don't assume the working directory is the parent of ".git"., Marius Bakke, 2018/09/25
- 02/11: gnu: enchant: Update home page., Marius Bakke, 2018/09/25
- 08/11: gnu: node: Delete expired tests., Marius Bakke, 2018/09/25
- 04/11: gnu: enchant: Propagate Glib., Marius Bakke, 2018/09/25
- 09/11: gnu: Add Node LTS., Marius Bakke, 2018/09/25
- 06/11: gnu: gspell: Update to 1.8.1., Marius Bakke, 2018/09/25
- 05/11: gnu: enchant: Update to 2.2.3., Marius Bakke, 2018/09/25
- 07/11: gnu: webkitgtk: Remove obsolete phase., Marius Bakke, 2018/09/25
- 10/11: gnu: varnish: Use absolute file name of "rm".,
Marius Bakke <=
- 11/11: services: Add Varnish service., Marius Bakke, 2018/09/25