summaryrefslogtreecommitdiffstats
path: root/main/ncurses/APKBUILD
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/ncurses/APKBUILD
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/ncurses/APKBUILD')
-rw-r--r--main/ncurses/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 772ec1ad8..341212dc3 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -12,9 +12,10 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-base $pkgname-terminfo
$pkgname-widec-libs:widec $pkgname-libs"
build() {
- local _confopts="--mandir=/usr/share/man
+ local _confopts="
--build=$CBUILD
--host=$CHOST
+ --mandir=/usr/share/man
--without-ada
--disable-termcap
--disable-rpath-hack
@@ -26,12 +27,16 @@ build() {
mkdir ncurses-build ncursesw-build
cd ncurses-build
- ../configure $_confopts || return 1
+ ../configure $_confopts \
+ || return 1
make libs || return 1
make -C progs || return 1
cd ../ncursesw-build
- ../configure $_confopts --enable-widec --without-progs || return 1
+ ../configure $_confopts \
+ --enable-widec \
+ --without-progs \
+ || return 1
make libs || return 1
cd ..
}