aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/w3m.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/w3m.scm')
-rw-r--r--gnu/packages/w3m.scm28
1 files changed, 13 insertions, 15 deletions
diff --git a/gnu/packages/w3m.scm b/gnu/packages/w3m.scm
index 9199cbd488..b5122d4f23 100644
--- a/gnu/packages/w3m.scm
+++ b/gnu/packages/w3m.scm
@@ -35,14 +35,17 @@
(package
(name "w3m")
(version "0.5.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/w3m/w3m-"
- version ".tar.gz"))
- (sha256
- (base32
- "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579"))))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/w3m/w3m-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579"))
+
+ ;; cf. https://bugs.archlinux.org/task/33397
+ (patches (list (search-patch "w3m-fix-compile.patch")))
+ (patch-flags '("-p0"))))
(build-system gnu-build-system)
(arguments `(#:tests? #f ; no check target
#:phases (alist-cons-before
@@ -56,11 +59,7 @@
(substitute* '("scripts/w3mmail.cgi.in"
"scripts/dirlist.cgi.in")
(("@PERL@") (which "perl"))))
- %standard-phases)
- ;; cf. https://bugs.archlinux.org/task/33397
- #:patches (list (assoc-ref %build-inputs
- "patch/fix-compile"))
- #:patch-flags '("-p0")))
+ %standard-phases)))
(inputs
`(("gettext" ,guix:gettext)
("libgc" ,libgc)
@@ -68,8 +67,7 @@
("openssl" ,openssl)
("perl" ,perl)
("pkg-config" ,pkg-config)
- ("zlib" ,zlib)
- ("patch/fix-compile" ,(search-patch "w3m-fix-compile.patch"))))
+ ("zlib" ,zlib)))
(home-page "http://w3m.sourceforge.net/")
(synopsis "w3m, a text-mode web browser")
(description