SHA256
6
0
forked from pool/ncurses
2015-01-12 15:12:55 +00:00
committed by Git OBS Bridge
parent 90e34b5bef
commit 0a4c9186ba
4 changed files with 35 additions and 8 deletions

View File

@@ -16,8 +16,14 @@
#
%bcond_with hasheddb
%bcond_with symversion
Name: ncurses
#!BuildIgnore: terminfo
%if %{with hasheddb}
BuildRequires: db-devel
%endif
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: screen
@@ -379,10 +385,6 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
# No --enable-xmc-glitch because this seems to break yast2
# on console/konsole (no magic cookie support on those?)
#
# No --with-termlib=tinfo because libncurses depend on
# libtinfo (is linked with) and therefore there is no
# advantage about splitting of a libtinfo (IMHO).
#
%if 0%{?suse_version} > 1310
SO=$(rpm -ql gpm-devel|grep %{_libdir})
SO=%{_libdir}/$(readlink $SO)
@@ -456,6 +458,12 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
--with-ticlib=tic \
--with-pc-suffix \
--enable-pc-files \
%if %{with symversion}
--with-versioned-syms \
%endif
%if %{with hasheddb}
--with-hashed-db \
%endif
--with-pkg-config-libdir=%{_libdir}/pkgconfig
kill $pid
#