summaryrefslogtreecommitdiffstats
path: root/main/liboil/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/liboil/APKBUILD')
-rw-r--r--main/liboil/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/liboil/APKBUILD b/main/liboil/APKBUILD
index 1ea58325a..ffbda71a3 100644
--- a/main/liboil/APKBUILD
+++ b/main/liboil/APKBUILD
@@ -10,10 +10,16 @@ subpackages="$pkgname-dev $pkgname-doc"
depends=
source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz"
-build ()
-{
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
unset CFLAGS
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \