summaryrefslogtreecommitdiffstats
path: root/main/xfce4-battery-plugin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xfce4-battery-plugin/APKBUILD')
-rw-r--r--main/xfce4-battery-plugin/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/xfce4-battery-plugin/APKBUILD b/main/xfce4-battery-plugin/APKBUILD
index 7a4e495a4..733d13214 100644
--- a/main/xfce4-battery-plugin/APKBUILD
+++ b/main/xfce4-battery-plugin/APKBUILD
@@ -23,11 +23,15 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ || return 1
make || return 1
}