diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-27 14:19:28 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-27 14:22:26 +0000 |
commit | 1751d6595597f1d9101cac04e54f20d95790f4f4 (patch) | |
tree | e895c3aa71985691256eca03cf4f7cdfeb0d966b /main/rarian | |
parent | ee152f9e0dce8017d033e01e018f1482d27e7e1d (diff) | |
download | aports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.bz2 aports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.xz |
main/[various]: fix build against musl (add update_config_sub)
Diffstat (limited to 'main/rarian')
-rw-r--r-- | main/rarian/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/rarian/APKBUILD b/main/rarian/APKBUILD index 635f32f03a..4f594d846e 100644 --- a/main/rarian/APKBUILD +++ b/main/rarian/APKBUILD @@ -12,10 +12,16 @@ makedepends="libxslt-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2 user-segfault.patch" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir=""$srcdir/$pkgname-$pkgver"" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 patch -p0 -i "$srcdir"/user-segfault.patch || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ |