summaryrefslogtreecommitdiffstats
path: root/main/libxdmcp
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxdmcp')
-rw-r--r--main/libxdmcp/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD
index b63883dd0..e269ab340 100644
--- a/main/libxdmcp/APKBUILD
+++ b/main/libxdmcp/APKBUILD
@@ -11,8 +11,15 @@ makedepends="xproto pkgconfig"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2"
+_builddir="$srcdir/libXdmcp-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/libXdmcp-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \