package/ushare: fix build without msgfmt
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 25 Aug 2021 22:00:38 +0000 (00:00 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 26 Aug 2021 20:53:43 +0000 (22:53 +0200)
commitc4e1a075101914f8e0d47f8bb9c06bea13ba0fd2
treee5aeacf088dd3775349ccb4675ae85e893dfe570
parentedcf8b6d5fc9e6e15e4153a7bd9a479696a6e408
package/ushare: fix build without msgfmt

Fix the following build failure without /usr/bin/msgfmt raised since the
addition of ushare in commit 74097fd659154499612f21fabeda4e3e7c8fdbfc:

make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/ushare-2.1/po'
/usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
make[3]: /usr/bin/msgfmt: Command not found

To fix this build failure, set GMSGFMT to $(HOST_DIR)/bin/msgfmt and
don't build po files if NLS is disabled

Fixes:
 - http://autobuild.buildroot.org/results/9f6b5b8f38386135bacd2d8f6e97c1fea77bbe69

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch [new file with mode: 0644]
package/ushare/ushare.mk