diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:11:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:11:04 +0000 |
commit | a87e94df9047010367ff7467873438d43eb8c1f1 (patch) | |
tree | 950da258d72d0042ba67f8e31caf72a33449f8bd /contrib/crossrpms/gdb/gdb.add | |
parent | Bump version. (diff) | |
download | rtems-a87e94df9047010367ff7467873438d43eb8c1f1.tar.bz2 |
Sync with rtems-4.10.
Diffstat (limited to 'contrib/crossrpms/gdb/gdb.add')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index efd3a5e0b8..7c869f5502 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -55,10 +55,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline +%endif %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + %if %build_infos # Required for building the infos BuildRequires: /sbin/install-info |