From d6424a187c593293acf87afcc7c75e43b290e9b817934c59c2e98f5197212c5a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 23 Jan 2018 07:39:23 +0000 Subject: [PATCH] Fix ncurses[w]6-config OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=349 --- ncurses.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncurses.spec b/ncurses.spec index 2718a59..5845115 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -526,7 +526,7 @@ rm -vf mk-dlls.sh find man/ -name '*.[1-8]x.*' -print -delete make install DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncurses libdir=%{_libdir} ln -sf %{_incdir}/ncurses/{curses,ncurses,term,termcap}.h %{root}%{_incdir} - sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncurses" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncursesw6-config + sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncursesw6-config mkdir pc mv -f %{root}%{_libdir}/pkgconfig/*.pc pc/ # @@ -623,7 +623,7 @@ rm -vf mk-dlls.sh make %{?_smp_mflags} # must not use %jobs here (would lead to: ln: ncurses.h already exists) make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncursesw libdir=%{_libdir} - sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncurses6-config + sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncurses" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses6-config pushd man sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1 popd