forked from pool/ncurses
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=182
This commit is contained in:
16
ncurses.spec
16
ncurses.spec
@@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user