aboutsummaryrefslogtreecommitdiffstats
path: root/main/ldns/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ldns/APKBUILD')
-rw-r--r--main/ldns/APKBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/main/ldns/APKBUILD b/main/ldns/APKBUILD
index 75041a6339..b389817232 100644
--- a/main/ldns/APKBUILD
+++ b/main/ldns/APKBUILD
@@ -27,14 +27,25 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
- (cd drill && ./configure --prefix=/usr)
- (cd examples && ./configure --prefix=/usr)
+ (cd drill && ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr) \
+ || return 1
+ (cd examples && ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr) \
+ || return 1
make || return 1
make -C drill || return 1