aboutsummaryrefslogtreecommitdiffstats
path: root/main/apcupsd
diff options
context:
space:
mode:
Diffstat (limited to 'main/apcupsd')
-rw-r--r--main/apcupsd/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index eb04436737..31a6d5a1ba 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -22,10 +22,14 @@ build() {
export LANG="C"
ac_cv_path_SHUTDOWN="/sbin/poweroff" \
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-usb \
- --enable-snmp
+ --enable-snmp \
+ || return 1
make || return 1
}