aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxft/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxft/APKBUILD')
-rw-r--r--main/libxft/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD
index 83776140e0..7c837033b3 100644
--- a/main/libxft/APKBUILD
+++ b/main/libxft/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="xproto libxrender-dev fontconfig-dev freetype-dev zlib-dev"
makedepends="$depends_dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.bz2"
+_builddir="$srcdir/libXft-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build () {
- cd "$srcdir"/libXft-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \