From f6723fe78a8b7ad141c619908bcd809abe43b78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Sun, 29 Sep 2013 16:03:35 +0000 Subject: main/[various]: update config.sub --- main/glibmm/APKBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'main/glibmm') diff --git a/main/glibmm/APKBUILD b/main/glibmm/APKBUILD index e09c93717a..8e77df87c8 100644 --- a/main/glibmm/APKBUILD +++ b/main/glibmm/APKBUILD @@ -12,8 +12,14 @@ subpackages="$pkgname-dev $pkgname-doc" depends_dev="libsigc++-dev" source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,7 +29,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } -- cgit v1.2.3