Fix ncurses[w]6-config
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=349
This commit is contained in:
parent
24ef789dd8
commit
d6424a187c
@ -526,7 +526,7 @@ rm -vf mk-dlls.sh
|
|||||||
find man/ -name '*.[1-8]x.*' -print -delete
|
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=/ncurses libdir=%{_libdir}
|
||||||
ln -sf %{_incdir}/ncurses/{curses,ncurses,term,termcap}.h %{root}%{_incdir}
|
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
|
mkdir pc
|
||||||
mv -f %{root}%{_libdir}/pkgconfig/*.pc pc/
|
mv -f %{root}%{_libdir}/pkgconfig/*.pc pc/
|
||||||
#
|
#
|
||||||
@ -623,7 +623,7 @@ rm -vf mk-dlls.sh
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
# must not use %jobs here (would lead to: ln: ncurses.h already exists)
|
# 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=/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
|
pushd man
|
||||||
sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1
|
sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user