summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-23 10:14:51 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-23 10:14:51 +0000
commit5eb0ae9bb7fecf047a647ffefc67a2af1777e2d5 (patch)
treecfeb869a8a3f15d25ca88d5c7df2585e85e3c1c3 /contrib
parentAdd *.tar.xz. (diff)
downloadrtems-5eb0ae9bb7fecf047a647ffefc67a2af1777e2d5.tar.bz2
Fix bug in with_system_readline logic.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gdb/gdb.add4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add
index f0271f6437..7c869f5502 100644
--- a/contrib/crossrpms/gdb/gdb.add
+++ b/contrib/crossrpms/gdb/gdb.add
@@ -56,13 +56,13 @@ BuildRequires: %{_host_rpmprefix}expat-devel
BuildRequires: %{_host_rpmprefix}termcap-devel
%endif
%bcond_with system_readline
-%endif
-
+%else
%if 0%{?fedora} >= 12
%bcond_with system_readline
%else
%bcond_without system_readline
%endif
+%endif
%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
BuildRequires: %{_host_rpmprefix}ncurses-devel