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
1 changed files with 19 additions and 15 deletions

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-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,11 +55,13 @@
("gzip" ,gzip) ("gzip" ,gzip)
("bzip2" ,bzip2))) ("bzip2" ,bzip2)))
(arguments (arguments
`(#:configure-flags '("--with-pkg-config" `(#:configure-flags
(let ((gnutls (assoc-ref %build-inputs "gnutls")))
`("--with-pkg-config"
"--with-screen=ncurses" "--with-screen=ncurses"
"--with-zlib" "--with-zlib"
"--with-bzlib" "--with-bzlib"
"--with-gnutls" ,(string-append "--with-gnutls=" gnutls)
;; "--with-socks5" ; XXX TODO ;; "--with-socks5" ; XXX TODO
"--enable-widec" "--enable-widec"
"--enable-ascii-ctypes" "--enable-ascii-ctypes"
@ -65,7 +69,7 @@
"--enable-htmlized-cfg" "--enable-htmlized-cfg"
"--enable-gzip-help" "--enable-gzip-help"
"--enable-nls" "--enable-nls"
"--enable-ipv6") "--enable-ipv6"))
#:tests? #f ; no check target #:tests? #f ; no check target
#:phases (alist-replace #:phases (alist-replace
'install 'install