# HG changeset patch # User Markus Mützel # Date 1664182233 -7200 # Node ID 152618b5b2a1ab7e4c854a2160c3c54229e7e007 # Parent 6fcbbbd97e402f0a0921bbfe12b8536e5ea44797 * src/gnutls.mk: Work around issue with autoconf >= 2.71 See also: https://github.com/spack/spack/issues/23964 diff -r 6fcbbbd97e40 -r 152618b5b2a1 src/gnutls.mk --- a/src/gnutls.mk Fri Sep 23 21:39:35 2022 -0400 +++ b/src/gnutls.mk Mon Sep 26 10:50:33 2022 +0200 @@ -29,7 +29,10 @@ define $(PKG)_BUILD mkdir '$(1)/.build' - cd '$(1)' && autoreconf -fi + # If an autoconf script calls GTK_DOC_CHECK, newer versions of autoreconf + # try to call `gtkdocize --copy`, which would require an extra dependency + # on `gtk-doc`, even if documentation is disabled at configure time. + cd '$(1)' && GTKDOCIZE=echo autoreconf -fi cd '$(1)/.build' && ../configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \