From c5bd8753be4521eab22935551efc9d8ccfb9f177 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 11 Apr 2018 04:42:02 -0400 Subject: gnu: linux-libre: Add 'patch-/bin/pwd' phase. * gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd' phase. --- gnu/packages/linux.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e774dbb3a0..c24f024898 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -311,6 +311,11 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (ice-9 match)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-/bin/pwd + (lambda _ + (substitute* (find-files "." "^Makefile(\\.include)?$") + (("/bin/pwd") "pwd")) + #t)) (replace 'configure (lambda* (#:key inputs native-inputs target #:allow-other-keys) ;; Avoid introducing timestamps -- cgit 1.4.1