From 1751d6595597f1d9101cac04e54f20d95790f4f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 27 Sep 2013 14:19:28 +0000 Subject: main/[various]: fix build against musl (add update_config_sub) --- main/poppler/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'main/poppler') diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD index ab84865354..7911aecf97 100644 --- a/main/poppler/APKBUILD +++ b/main/poppler/APKBUILD @@ -17,8 +17,15 @@ depends= depends_dev="cairo-dev" source="http://$pkgname.freedesktop.org/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ -- cgit v1.2.3