gnu: libmicrohttpd: Update to 0.9.63.

* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.63.
[arguments]: Remove custom phase to add missing LDFLAGS.
This commit is contained in:
Efraim Flashner 2019-03-07 21:58:39 +02:00
parent 0ef54303f3
commit c4bfce994e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 13 deletions

View File

@ -148,14 +148,14 @@ tool to extract metadata from a file and print the results.")
(define-public libmicrohttpd (define-public libmicrohttpd
(package (package
(name "libmicrohttpd") (name "libmicrohttpd")
(version "0.9.62") (version "0.9.63")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-" (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0jfvi1fb4im3a3m8qishbmzx3zch993c0mhvl2k92l1zf1yhjgmx")))) "173lj66crwvhzwp1r812sc5h1hda7g6lb9l1y5zf7w3pw4dnzhrp"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("curl" ,curl) `(("curl" ,curl)
@ -164,17 +164,7 @@ tool to extract metadata from a file and print the results.")
("openssl" ,openssl) ("openssl" ,openssl)
("zlib" ,zlib))) ("zlib" ,zlib)))
(arguments (arguments
`(#:parallel-tests? #f `(#:parallel-tests? #f))
#:phases (modify-phases %standard-phases
(add-before 'check 'add-missing-LDFLAGS
(lambda _
;; The two test_upgrade* programs depend on GnuTLS
;; directly but lack -lgnutls; add it.
(substitute* "src/microhttpd/Makefile"
(("^test_upgrade(.*)LDFLAGS = (.*)$" _ first rest)
(string-append "test_upgrade" first
"LDFLAGS = -lgnutls " rest)))
#t)))))
(synopsis "C library implementing an HTTP 1.1 server") (synopsis "C library implementing an HTTP 1.1 server")
(description (description
"GNU libmicrohttpd is a small, embeddable HTTP server implemented as a "GNU libmicrohttpd is a small, embeddable HTTP server implemented as a