From f2a8dc6b710afbd260b065b75ec517a6185cc996d1eaa4ef06d70d1275f0b366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Fri, 2 Jul 2010 16:27:42 +0000 Subject: [PATCH] Accepting request 42403 from home:jengelh:smp Copy from home:jengelh:smp/ncurses via accept of submit request 42403 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/42403 OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=26 --- ncurses.changes | 5 +++++ ncurses.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ncurses.changes b/ncurses.changes index 5a153f7..80f9cbc 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 2 06:48:39 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + ------------------------------------------------------------------- Fri May 7 19:09:22 CEST 2010 - werner@suse.de diff --git a/ncurses.spec b/ncurses.spec index 29f21e8..a97728a 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -386,9 +386,9 @@ mv tack-* tack # This is a hack to be able to boot strap # a libncurses with correct fallback.c. # - make %{?jobs:-j%jobs} -C include - make %{?jobs:-j%jobs} -C ncurses fallback.c FALLBACK_LIST="" - make %{?jobs:-j%jobs} -C progs termsort.c transform.h infocmp tic + make %{?_smp_mflags} -C include + make %{?_smp_mflags} -C ncurses fallback.c FALLBACK_LIST="" + make %{?_smp_mflags} -C progs termsort.c transform.h infocmp tic rm -f ncurses/fallback.c PATH=$PWD/progs:$OPATH pushd ncurses/ @@ -397,7 +397,7 @@ mv tack-* tack mkdir -p $TERMINFO sh run_cmd.sh tic -I -r -e $FALLBK ../misc/terminfo.src > terminfo.src sh run_cmd.sh tic -o $TERMINFO -s terminfo.src - make %{?jobs:-j%jobs} fallback.c + make %{?_smp_mflags} fallback.c rm -rf $TERMINFO unset TERMINFO popd @@ -410,7 +410,7 @@ mv tack-* tack # # Now rebuild libncurses and do the rest of this job # - make %{?jobs:-j%jobs} + make %{?_smp_mflags} lib=%{_libdir} inc=%{_incdir}/ncurses # must not use %jobs here (would lead to: ln: ncurses.h already exists) @@ -433,7 +433,7 @@ mv tack-* tack # Now use --with-pthread for reentrant pthread support (abi > 5). # eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs - make %{?jobs:-j%jobs} + make %{?_smp_mflags} lib=%{_libdir}/ncurses6 inc=%{_incdir}/ncurses6/ncurses # must not use %jobs here (would lead to: ln: ncurses.h already exists) @@ -451,7 +451,7 @@ mv tack-* tack %else eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs %endif - make %{?jobs:-j%jobs} + make %{?_smp_mflags} lib=%{_libdir} inc=%{_incdir}/ncursesw # must not use %jobs here (would lead to: ln: ncurses.h already exists) @@ -462,7 +462,7 @@ mv tack-* tack # Do both --enable-widec and --with-pthread (abi > 5). # eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs - make %{?jobs:-j%jobs} + make %{?_smp_mflags} lib=%{_libdir}/ncurses6 inc=%{_incdir}/ncurses6/ncursesw # must not use %jobs here (would lead to: ln: ncurses.h already exists)