diff options
Diffstat (limited to 'main/mtools/APKBUILD')
-rw-r--r-- | main/mtools/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/mtools/APKBUILD b/main/mtools/APKBUILD index c04f3c721..fa4dfc04f 100644 --- a/main/mtools/APKBUILD +++ b/main/mtools/APKBUILD @@ -11,8 +11,14 @@ makedepends="texinfo" source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2" subpackages="$pkgname-doc" -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 \ |