From f1b0252ec4b88ef7e9be74c2d954cdbae2ce1a2b Mon Sep 17 00:00:00 2001 From: Mark Meyer Date: Thu, 4 Jan 2018 18:17:38 +0100 Subject: [PATCH] gnu: surfraw: Point to correct perl binary. * gnu/packages/web.scm (surfraw): Patch standard phases. --- gnu/packages/web.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index eb0436cb3..f2ed7c4b7 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4706,6 +4706,12 @@ handling many of the web standards in use today.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'configure 'patch-perl + (lambda* (#:key inputs #:allow-other-keys) + (let ((perl (assoc-ref inputs "perl"))) + (substitute* "surfraw.IN" + (("perl -e") + (string-append perl "/bin/perl -e")))))) (add-after 'install 'compress-elvi.1sr (lambda* (#:key outputs #:allow-other-keys) ;; The manpages of the elvis are symlinks to elvi.1sr.gz -- 2.15.1