[Buildroot] [PATCH v2] package/gettext-tiny: fix install failure if path contains "m4/" string

Peter Korsgaard peter at korsgaard.com
Thu Mar 5 20:16:11 UTC 2020


>>>>> "Giulio" == Giulio Benetti <giulio.benetti at benettiengineering.com> writes:

 > 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 at benettiengineering.com>
 > ---
 > Pending upstream:
 > https://github.com/sabotage-linux/gettext-tiny/pull/49

 > V1-> V2:
 > * used $(patsubst ...) instead of sed as suggested by Heiko and xhebox

Committed to 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list