SHA256
3
0
forked from pool/ncurses

Correct include path for ncursesw

OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=352
This commit is contained in:
Dr. Werner Fink 2018-01-30 07:53:57 +00:00 committed by Git OBS Bridge
parent 4b8ed6fce9
commit 2f578c44c1
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 30 07:51:09 UTC 2018 - werner@suse.de
- Correct include path for wide chraracter header files for ABI 6.1
-------------------------------------------------------------------
Mon Jan 29 10:48:07 UTC 2018 - werner@suse.de

View File

@ -519,7 +519,7 @@ mv tack-* tack
%endif
# must not use %jobs here (would lead to: ln: ncurses.h already exists)
find man/ -name '*.[1-8]x.*' -print -delete
make install DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncurses libdir=%{_libdir}
make install DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncursesw libdir=%{_libdir}
ln -sf %{_incdir}/ncurses/{curses,ncurses,term,termcap}.h %{root}%{_incdir}
sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncursesw6-config
mkdir pc
@ -617,7 +617,7 @@ mv tack-* tack
make -C c++ etip.h
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}
make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncurses libdir=%{_libdir}
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