devel/sis: Fix building the SIS on FreeBSD

- Update to SIS 2.17 which has internal readline support for
  the hosts which do not have readline.

Closes #3763
This commit is contained in:
Chris Johns
2019-07-23 21:47:53 +10:00
parent 831ae05364
commit 5eb4282eb4
4 changed files with 9 additions and 18 deletions

View File

@@ -8,11 +8,10 @@
%include %{_configdir}/base.cfg %include %{_configdir}/base.cfg
%define sis_version 2.16 %define sis_version 2.17
%hash sha256 sis-%{sis_version}.tar.bz2 37cdb8f5cc1255e273423f580f5c76755e5851dabb677f6bc1100f27557b8dce %hash sha256 sis-%{sis_version}.tar.bz2 5125a8924688223b8341c2c26f51490069035da764e43f422c3fc119ddcae1a3
# #
# The sis build instructions. We use 2.15 # The sis build instructions. We use 2.15
# #
%include %{_configdir}/sis-2-1.cfg %include %{_configdir}/sis-2-1.cfg

View File

@@ -14,4 +14,4 @@ tools/rtems-gdb-8.2.1-1
tools/rtems-binutils-2.32 tools/rtems-binutils-2.32
tools/rtems-gcc-9.1.0-newlib-5c2a3661c tools/rtems-gcc-9.1.0-newlib-5c2a3661c
tools/rtems-tools-5-1 tools/rtems-tools-5-1
devel/sis-2-1.cfg devel/sis-2-1

View File

@@ -2,5 +2,4 @@
%define rtems_arch sparc %define rtems_arch sparc
%define with_libgomp %define with_libgomp
%include 5/rtems-default.bset %include 5/rtems-default.bset
devel/sis-2-1.cfg devel/sis-2-1

View File

@@ -31,26 +31,19 @@ Release: %{release}
cd sis-%{sis_version} cd sis-%{sis_version}
ac_prefix=%{_prefix}
if test "%{_build}" != "%{_host}" ; then
CFLAGS_FOR_BUILD="-g -O2 -Wall"
fi
export CFLAGS CFLAGS_FOR_BUILD CC
if test "%{_target}" != "" ; then if test "%{_target}" != "" ; then
SIS_PREFIX="%{_target}-" SIS_PREFIX="%{_target}-"
fi fi
CFLAGS="$SB_CFLAGS" \
%{host_build_flags}
./configure \ ./configure \
--build=%{_build} --host=%{_host} \ --build=%{_build} --host=%{_host} --target=%{_target} \
--program-prefix="$SIS_PREFIX" \ --program-prefix="$SIS_PREFIX" \
--prefix=${ac_prefix} --prefix=${_prefix}
%{__make} %{?_smp_mflags} all %{__make} %{?_smp_mflags} all
unset CFLAGS_FOR_BUILD
cd ${build_top} cd ${build_top}
%install %install