diff options
Diffstat (limited to 'main/randrproto')
-rw-r--r-- | main/randrproto/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/randrproto/APKBUILD b/main/randrproto/APKBUILD index dd1965f0a5..c8d73b1e6f 100644 --- a/main/randrproto/APKBUILD +++ b/main/randrproto/APKBUILD @@ -10,8 +10,15 @@ depends="" makedepends="" source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" -build () { - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ |