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/lzo/APKBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'main/lzo') diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD index c522e773a5..e58bb7b53f 100644 --- a/main/lzo/APKBUILD +++ b/main/lzo/APKBUILD @@ -13,9 +13,15 @@ install= subpackages="$pkgname-dev" source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz" -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 \ -- cgit v1.2.3