ncurses: use do_configure().
This commit is contained in:
parent
ed0d281861
commit
e4db3f8ac3
1 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,7 @@ else
|
|||
subpackages="ncurses-base ncurses-devel ncurses-libs ncurses-term"
|
||||
fi
|
||||
|
||||
do_build() {
|
||||
do_configure() {
|
||||
mkdir ncurses-build ncursesw-build
|
||||
cd ${wrksrc}/ncursesw-build
|
||||
|
||||
|
@ -36,13 +36,19 @@ do_build() {
|
|||
--enable-widec --with-shared --without-debug \
|
||||
--with-manpage-symlinks --without-ada --enable-ext-colors \
|
||||
--without-tests
|
||||
make ${makejobs}
|
||||
|
||||
cd ${wrksrc}/ncurses-build
|
||||
# non-widec build
|
||||
CFLAGS="$CFLAGS -fPIC" \
|
||||
../configure ${CONFIGURE_SHARED_ARGS} --with-shared \
|
||||
--without-debug --without-ada --without-tests
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}/ncursesw-build
|
||||
make ${makejobs}
|
||||
|
||||
cd ${wrksrc}/ncurses-build
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue