changeset 6427:152618b5b2a1

* src/gnutls.mk: Work around issue with autoconf >= 2.71 See also: https://github.com/spack/spack/issues/23964
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 26 Sep 2022 10:50:33 +0200
parents 6fcbbbd97e40
children 11a3af7e5c3e
files src/gnutls.mk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) \