summaryrefslogtreecommitdiffstats
path: root/main/zsh
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-30 08:51:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-30 08:54:53 +0000
commit5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch)
treee077e5c3afa20630fd6e96db5872f03d622d639e /main/zsh
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/zsh')
-rw-r--r--main/zsh/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/zsh/APKBUILD b/main/zsh/APKBUILD
index 4076da3e8..49a28e437 100644
--- a/main/zsh/APKBUILD
+++ b/main/zsh/APKBUILD
@@ -16,7 +16,10 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--bindir=/bin \
--enable-etcdir=/etc/zsh \
--enable-zshenv=/etc/zsh/zshenv \
@@ -30,7 +33,8 @@ build() {
--sysconfdir=/etc \
--with-tcsetpgrp \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}