From 8a24420f1d90a7eea853d20ffc75de7be69e8403 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 2 Jul 2023 02:00:02 +0200 Subject: gnu: lynx: Use G-expressions. * gnu/packages/web-browsers.scm (lynx)[arguments]: Rewrite as G-expressions. --- gnu/packages/web-browsers.scm | 48 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'gnu/packages/web-browsers.scm') diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 7b3b08d474..2735b754fd 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -294,30 +294,30 @@ (define-public lynx gzip bzip2)) (arguments - `(#:configure-flags - (let ((openssl (assoc-ref %build-inputs "openssl"))) - `("--with-pkg-config" - "--with-screen=ncurses" - "--with-zlib" - "--with-bzlib" - ,(string-append "--with-ssl=" openssl) - ;; "--with-socks5" ; XXX TODO - "--enable-widec" - "--enable-ascii-ctypes" - "--enable-local-docs" - "--enable-htmlized-cfg" - "--enable-gzip-help" - "--enable-nls" - "--enable-ipv6")) - #:tests? #f ; no check target - #:phases - (modify-phases %standard-phases - (add-before 'configure 'set-makefile-shell - (lambda _ (substitute* "po/makefile.inn" - (("/bin/sh") (which "sh"))))) - (replace 'install - (lambda* (#:key (make-flags '()) #:allow-other-keys) - (apply invoke "make" "install-full" make-flags)))))) + (list #:configure-flags + #~(let ((openssl #$(this-package-input "openssl"))) + (list "--with-pkg-config" + "--with-screen=ncurses" + "--with-zlib" + "--with-bzlib" + (string-append "--with-ssl=" openssl) + ;; "--with-socks5" ; XXX TODO + "--enable-widec" + "--enable-ascii-ctypes" + "--enable-local-docs" + "--enable-htmlized-cfg" + "--enable-gzip-help" + "--enable-nls" + "--enable-ipv6")) + #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'set-makefile-shell + (lambda _ (substitute* "po/makefile.inn" + (("/bin/sh") (which "sh"))))) + (replace 'install + (lambda* (#:key (make-flags '()) #:allow-other-keys) + (apply invoke "make" "install-full" make-flags)))))) (synopsis "Text Web Browser") (description "Lynx is a fully-featured World Wide Web (WWW) client for users running -- cgit v1.2.3