package/gettext-tiny: fix install failure if path contains "m4/" string
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Sat, 18 Jan 2020 22:06:11 +0000 (23:06 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 18 Jan 2020 22:20:30 +0000 (23:20 +0100)
commit41b9a64526b7bbd28ba2d084f3786cb536750daa
treef6737404697e8abf620c24300154468204798b63
parentc0cdbcbb8e314a3733f2c666274039ba92c99837
package/gettext-tiny: fix install failure if path contains "m4/" string

When building with path containing "m4/" occurence(i.e. make
O=output-m4) gettext-tiny install recipe copies files to wrong place and
later some package using autotools fail to autoreconf(i.e. minicom).
This is due to buggy gettext-tiny Makefile install recipe where they
substitute every "m4/" in INSTALL destination path, including the "m4/"
part of our build folder. Add patch to fix this by using $(patsubst ...)
instead of $(subst m4/,,$@) to substitute only last "m4/" occurence in
path.

Fixes:
https://bugs.busybox.net/show_bug.cgi?id=12481

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/gettext-tiny/0001-Makefile-fix-install-failure-if-path-contains-m4-str.patch [new file with mode: 0644]