diff options
-rw-r--r-- | gnu/packages/web.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 30d5e51be9..f67f415d2f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4765,6 +4765,13 @@ 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"))) + #t))) (add-after 'install 'compress-elvi.1sr (lambda* (#:key outputs #:allow-other-keys) ;; The manpages of the elvis are symlinks to elvi.1sr.gz |