Merge pull request #18400 from nmav/tmp-tang-self-contained
[feed/packages.git] / libs / gnutls / patches / 020-dont-install-m4-files.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Eneas U de Queiroz <cote2004-github@yahoo.com>
3 Date: Mon, 25 Oct 2021 08:49:21 -0300
4 Subject: Do not install m4 files
5
6 Do not use --install when calling aclocal. That flag instructs aclocal to
7 copy third-party files to the first -I directory. The intention here is to
8 copy files to the package build dir (m4). However, our toolchain prepends
9 the build-system's m4 dir to the list, causing the --install flag to
10 install an older version to the buildsystem m4 dir, causing failures in
11 other packages.
12
13 Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
14
15 --- a/Makefile.am
16 +++ b/Makefile.am
17 @@ -48,7 +48,7 @@ if ENABLE_DOC
18 SUBDIRS += doc
19 endif
20
21 -ACLOCAL_AMFLAGS = -I m4 -I src/gl/m4 -I lib/unistring/m4 --install
22 +ACLOCAL_AMFLAGS = -I m4 -I src/gl/m4 -I lib/unistring/m4
23
24 EXTRA_DIST = cfg.mk maint.mk CONTRIBUTING.md README.md LICENSE AUTHORS NEWS \
25 ChangeLog THANKS INSTALL.md RELEASES.md .mailmap