diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-31 04:42:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-31 04:42:24 +0000 |
commit | cb63bf024cf9bbdd747615575d298143ffaa000a (patch) | |
tree | e526afa9f5532b53e5a94e8a8645e59b0b7b7e6a /contrib | |
parent | BR: %{_host_rpmprefix}expat-devel. (diff) | |
download | rtems-cb63bf024cf9bbdd747615575d298143ffaa000a.tar.bz2 |
BR: %{_host_rpmprefix}readline-devel.
BR: %{_host_rpmprefix}ncurses-devel.
BR: %{_host_rpmprefix}termcap-devel for gdb < 6.6.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index cb773f10c4..22aa0d075b 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -34,8 +34,14 @@ BuildRequires: texinfo >= 4.2 %if "@tool_target@" == "sparc-rtems4.9" BuildConflicts: libtermcap-devel termcap-devel %endif -BuildRequires: readline-devel -BuildRequires: ncurses-devel +%if "%{gdb_version}" < "6.6" +%if "%{_build}" != "%{_host}" +BuildRequires: %{_host_rpmprefix}termcap-devel +%endif +%endif +BuildRequires: %{_host_rpmprefix}readline-devel +BuildRequires: %{_host_rpmprefix}ncurses-devel + %if %build_infos Requires: @rpmprefix@gdb-common |