From e4db3f8ac3166cad5f713e38470cab5d771a6bbe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Apr 2013 17:52:23 +0200 Subject: [PATCH] ncurses: use do_configure(). --- srcpkgs/ncurses/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template index 01d7761e9f..ea61219245 100644 --- a/srcpkgs/ncurses/template +++ b/srcpkgs/ncurses/template @@ -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} }