summaryrefslogtreecommitdiffstats
path: root/main/ncurses/APKBUILD
diff options
context:
space:
mode:
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 ..
}