gnu: lynx: Update to 2.8.9dev.9 and fix GnuTLS support.

* gnu/packages/lynx.scm (lynx): Update to 2.8.9dev.9.
[arguments]: Append the path to the GnuTLS to "--with-gnutls=".
This commit is contained in:
Kei Kebreau 2016-10-09 16:57:18 -04:00
parent 8ea83d60e4
commit fedcb99d84
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -33,14 +34,15 @@ (define-module (gnu packages lynx)
(define-public lynx (define-public lynx
(package (package
(name "lynx") (name "lynx")
(version "2.8.8rel.2") (version "2.8.9dev.9")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"http://invisible-mirror.net/archives/lynx/tarballs" "http://invisible-mirror.net/archives/lynx/tarballs"
"/lynx" version ".tar.bz2")) "/lynx" version ".tar.bz2"))
(sha256 (sha256
(base32 "1rxysl08acqll5b87368f04kckl8sggy1qhnq59gsxyny1ffg039")))) (base32
"1m72ga89hywm097kazcm8w6sqrfjnl83gh31pkbhk4zhzhfpzxgh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("pkg-config" ,pkg-config)
("perl" ,perl))) ("perl" ,perl)))
@ -53,19 +55,21 @@ (define-public lynx
("gzip" ,gzip) ("gzip" ,gzip)
("bzip2" ,bzip2))) ("bzip2" ,bzip2)))
(arguments (arguments
`(#:configure-flags '("--with-pkg-config" `(#:configure-flags
"--with-screen=ncurses" (let ((gnutls (assoc-ref %build-inputs "gnutls")))
"--with-zlib" `("--with-pkg-config"
"--with-bzlib" "--with-screen=ncurses"
"--with-gnutls" "--with-zlib"
;; "--with-socks5" ; XXX TODO "--with-bzlib"
"--enable-widec" ,(string-append "--with-gnutls=" gnutls)
"--enable-ascii-ctypes" ;; "--with-socks5" ; XXX TODO
"--enable-local-docs" "--enable-widec"
"--enable-htmlized-cfg" "--enable-ascii-ctypes"
"--enable-gzip-help" "--enable-local-docs"
"--enable-nls" "--enable-htmlized-cfg"
"--enable-ipv6") "--enable-gzip-help"
"--enable-nls"
"--enable-ipv6"))
#:tests? #f ; no check target #:tests? #f ; no check target
#:phases (alist-replace #:phases (alist-replace
'install 'install