apcupsd: Preset binaries used on target system 10068/head
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Tue, 24 Sep 2019 18:29:54 +0000 (21:29 +0300)
committerMaxim Mikityanskiy <maxtram95@gmail.com>
Tue, 24 Sep 2019 18:29:54 +0000 (21:29 +0300)
commit4a3b1ee42a6e7f033674ce94b665122d4fcc0f8e
treea41f7d4a1e9aefabfde1ddd8305100b6f5d4edee
parent862510a251d1c4216255d49428796eea69ddbba6
apcupsd: Preset binaries used on target system

apcupsd's configure script looks up paths to sh, wall and mail on the
host system, but intends to use them on the target system. OpenWrt
replaces apcupsd's scripts by its own versions, so those paths don't
really matter, however, if the host system doesn't have wall installed,
the build fails. This is the case on Gentoo when util-linux is built
with USE=-tty-helpers (default). Prevent such failures by providing
explicit stub paths to sh, wall and mail to configure script.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
net/apcupsd/Makefile