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"
|
subpackages="ncurses-base ncurses-devel ncurses-libs ncurses-term"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_configure() {
|
||||||
mkdir ncurses-build ncursesw-build
|
mkdir ncurses-build ncursesw-build
|
||||||
cd ${wrksrc}/ncursesw-build
|
cd ${wrksrc}/ncursesw-build
|
||||||
|
|
||||||
|
@ -36,13 +36,19 @@ do_build() {
|
||||||
--enable-widec --with-shared --without-debug \
|
--enable-widec --with-shared --without-debug \
|
||||||
--with-manpage-symlinks --without-ada --enable-ext-colors \
|
--with-manpage-symlinks --without-ada --enable-ext-colors \
|
||||||
--without-tests
|
--without-tests
|
||||||
make ${makejobs}
|
|
||||||
|
|
||||||
cd ${wrksrc}/ncurses-build
|
cd ${wrksrc}/ncurses-build
|
||||||
# non-widec build
|
# non-widec build
|
||||||
CFLAGS="$CFLAGS -fPIC" \
|
CFLAGS="$CFLAGS -fPIC" \
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --with-shared \
|
../configure ${CONFIGURE_SHARED_ARGS} --with-shared \
|
||||||
--without-debug --without-ada --without-tests
|
--without-debug --without-ada --without-tests
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
cd ${wrksrc}/ncursesw-build
|
||||||
|
make ${makejobs}
|
||||||
|
|
||||||
|
cd ${wrksrc}/ncurses-build
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue