gnu: gnutls: Remove dependency on the Autotools.

This is a followup to 5cf6f6fe7b.

* gnu/packages/tls.scm (gnutls)[arguments]: In 'disable-failing-tests'
phase, change 'tests/fastopen.sh' instead of 'tests/Makefile.am'.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, GETTEXT-MINIMAL, and
LIBTOOL.
This commit is contained in:
Ludovic Courtès 2020-09-25 15:15:59 +02:00
parent e7ab9c33cc
commit 0b40d1a3b4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -46,13 +46,11 @@ (define-module (gnu packages tls)
#:use-module (guix build-system trivial)
#:use-module (gnu packages compression)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages curl)
#:use-module (gnu packages dns)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages guile)
#:use-module (gnu packages hurd)
#:use-module (gnu packages libbsd)
@ -221,9 +219,9 @@ (define-public gnutls
;; https://gitlab.com/gnutls/gnutls/-/issues/1095).
(add-after 'unpack 'disable-failing-tests
(lambda _
(delete-file "configure")
(substitute* "tests/Makefile.am"
(("fastopen.sh") ""))
(substitute* "tests/fastopen.sh"
(("^unset RETCODE")
"exit 77\n")) ;skip
#t))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
@ -245,11 +243,6 @@ (define-public gnutls
`(("net-tools" ,net-tools)
("iproute" ,iproute) ;for 'ss'
("socat" ,socat))) ;several tests rely on it
("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gettext-minimal)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)
("which" ,which)