ncurses: use do_configure().

This commit is contained in:
Juan RP 2013-04-02 17:52:23 +02:00
parent ed0d281861
commit e4db3f8ac3

View file

@ -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}
}