diff options
Diffstat (limited to 'main/ncurses')
-rw-r--r-- | main/ncurses/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index 772ec1ad80..341212dc30 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 .. } |