aboutsummaryrefslogtreecommitdiffstats
path: root/main/bind/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/bind/APKBUILD')
-rw-r--r--main/bind/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 58add51e8e..f4af2b90e8 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -48,7 +48,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/bind \
--localstatedir=/var \
--with-openssl=/usr \
@@ -61,7 +64,8 @@ build() {
--with-libtool \
--with-randomdev=/dev/random \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}