buildroot/package/tar
Thomas Petazzoni 69cbb563a1 package/tar: properly handle autoreconf
Commit 9a66711be1 ("package/tar: fix
linking with libiconv") added two patches that patch Makefile.am
files, but it forgot to add TAR_AUTORECONF = YES.

However, a gotcha is that TAR_AUTORECONF = YES would apply to both the
target tar, but also the host tar. But for host-tar, we can't accept
to do an autoreconf, because this would cause host-tar to have a
dependency on host-{autoconf,automake,libtool}, which in turn would
have a dependency on host-tar.

Since anyway the patches 0002/0003 that modify Makefile.am are only
useful to fix a libiconv problem that occurs when building target tar,
we disable autoreconf for host-tar, and we prevent automatic
autoreconf by touching the right Makefile.in files. This mess can be
dropped next time we update tar, as 0002/0003 will be part of the next
tar release.

Fixes:

  http://autobuild.buildroot.net/results/efdf7cf9ede810ed7f766cc4138b16054bc0c18a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-15 16:37:42 +02:00
..
0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch
0002-Fix-savannah-bug-#64441.patch package/tar: fix linking with libiconv 2024-07-15 10:22:49 +02:00
0003-tests-fix-LDADD.patch package/tar: fix linking with libiconv 2024-07-15 10:22:49 +02:00
Config.in
tar.hash
tar.mk package/tar: properly handle autoreconf 2024-07-15 16:37:42 +02:00