aboutsummaryrefslogtreecommitdiffstats
path: root/main/compositeproto
diff options
context:
space:
mode:
Diffstat (limited to 'main/compositeproto')
-rw-r--r--main/compositeproto/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD
index 5231d31ee1..4dcd16e544 100644
--- a/main/compositeproto/APKBUILD
+++ b/main/compositeproto/APKBUILD
@@ -10,8 +10,15 @@ depends="fixesproto"
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \