summaryrefslogtreecommitdiff
path: root/user/ipmiutil/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-11 00:38:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-11 00:38:10 +0000
commit693e8657612bfe74dacc0e5372938e2683fe4984 (patch)
tree865dcc1b753707b177416a74524f91a20b6776ba /user/ipmiutil/APKBUILD
parent12d60ca9aff285fa1082aaa6b98ca8ae1892c95a (diff)
downloadpackages-693e8657612bfe74dacc0e5372938e2683fe4984.tar.gz
packages-693e8657612bfe74dacc0e5372938e2683fe4984.tar.bz2
packages-693e8657612bfe74dacc0e5372938e2683fe4984.tar.xz
packages-693e8657612bfe74dacc0e5372938e2683fe4984.zip
user/ipmiutil: fix build on arm64
Diffstat (limited to 'user/ipmiutil/APKBUILD')
-rw-r--r--user/ipmiutil/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/ipmiutil/APKBUILD b/user/ipmiutil/APKBUILD
index 8accd70c0..fdf32fbe2 100644
--- a/user/ipmiutil/APKBUILD
+++ b/user/ipmiutil/APKBUILD
@@ -13,9 +13,17 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://downloads.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz
ipmiutil-3.0.7-fix-sha256.patch"
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
build() {
cd "$builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \