Changeset a87e94df in rtems


Ignore:
Timestamp:
Sep 23, 2009, 11:11:04 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.9
Children:
002e4a4b
Parents:
209fadea
Message:

Sync with rtems-4.10.

Location:
contrib/crossrpms/gdb
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gdb/base-gdb.add

    r209fadea ra87e94df  
    88Requires(post):         /sbin/install-info
    99Requires(preun):        /sbin/install-info
     10%{?_with_noarch_subpackages:BuildArch: noarch}
    1011
    1112%description -n @rpmprefix@gdb-common
     
    2930%files -n @rpmprefix@gdb-common
    3031%defattr(-,root,root)
     32%sysdir %{_prefix}
     33%sysdir %{_prefix}/share
     34
    3135%sysdir %{_infodir}
    3236%ghost %{_infodir}/dir
  • contrib/crossrpms/gdb/build.add

    r209fadea ra87e94df  
    1717    --disable-werror \
    1818    %{build_sim} \
    19 %if "%{gdb_version}" >= "6.7"
    20     --with-system-readline \
    21 %endif
     19    %{?with_system_readline:--with-system-readline} \
    2220%if "%{gdb_version}" >= "6.6"
    2321    --with-expat \
    2422%endif
    2523%if "%{gdb_version}" >= "6.8.50"
     24%if %{with python}
     25    --with-python \
     26%else
    2627    --without-python \
     28%endif
    2729%endif
    2830    --with-sysroot=%{_prefix}/@tool_target@/sys-root \
  • contrib/crossrpms/gdb/gdb.add

    r209fadea ra87e94df  
    5656BuildRequires:  %{_host_rpmprefix}termcap-devel
    5757%endif
     58%bcond_with system_readline
     59%else
     60%if 0%{?fedora} >= 12
     61%bcond_with system_readline
     62%else
     63%bcond_without system_readline
    5864%endif
    59 BuildRequires:  %{_host_rpmprefix}readline-devel
     65%endif
     66%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
    6067BuildRequires:  %{_host_rpmprefix}ncurses-devel
     68
     69%if "%{gdb_version}" >= "6.8.50"
     70%if "%{_build}" != "%{_host}"
     71# Can't build python Cdn-X
     72%bcond_with python
     73%else
     74%bcond_without python
     75%endif
     76%endif
     77%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
    6178
    6279%if %build_infos
  • contrib/crossrpms/gdb/prep.add

    r209fadea ra87e94df  
    77cd ..
    88
    9 %if "%{gdb_version}" >= "6.7"
    109# Force using a system-provided libreadline
    11 rm -f gdb-%{gdb_version}/readline/configure
    12 %endif
     10%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}
  • contrib/crossrpms/gdb/target-gdb.add

    r209fadea ra87e94df  
    1414%files -n @rpmprefix@@tool_target@-gdb
    1515%defattr(-,root,root)
     16%sysdir %{_prefix}
     17%sysdir %{_prefix}/share
     18
    1619%sysdir %{_mandir}
    1720%sysdir %{_mandir}/man1
Note: See TracChangeset for help on using the changeset viewer.