aboutsummaryrefslogtreecommitdiffstats
path: root/main/gawk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gawk/APKBUILD')
-rw-r--r--main/gawk/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD
index d824436158..84e8f4497b 100644
--- a/main/gawk/APKBUILD
+++ b/main/gawk/APKBUILD
@@ -11,9 +11,14 @@ license="GPL"
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
-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 \