summaryrefslogtreecommitdiffstats
path: root/main/xf86miscproto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xf86miscproto/APKBUILD')
-rw-r--r--main/xf86miscproto/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/xf86miscproto/APKBUILD b/main/xf86miscproto/APKBUILD
index c1fc9bfab..77b83bcff 100644
--- a/main/xf86miscproto/APKBUILD
+++ b/main/xf86miscproto/APKBUILD
@@ -13,7 +13,11 @@ source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}