Browse Source

force the use of own getline(3) to unbreak run-time under e.g. FreeBSD 8

master
parent
commit
cc9ef7fee9
  1. 14
      cvs/cvs.spec

14
cvs/cvs.spec

@ -44,7 +44,7 @@ Release: 20080101
%option with_rse_cvsuser cvs
# list of sources
Source0: ftp://ftp.gnu.org/non-gnu/cvs/source/feature/cvs-%{V_cvs}.tar.bz2
Source0: ftp://ftp.gnu.org/non-gnu/cvs/source/feature/%{V_cvs}/cvs-%{V_cvs}.tar.bz2
Source1: http://www.does-not-exist.org/roessler/cvslock-%{V_cvslock}.tar.gz
Source2: rc.cvs
Source3: fsl.cvs
@ -111,10 +111,11 @@ AutoReqProv: no
%build
# configure CVS package
rm -f config.cache
case "%{l_platform -t}" in
*-sunos* ) (echo "ac_cv_header_getopt_h=no"
echo "ac_cv_func_getopt_long_only=no") >config.cache;;
esac
( echo "ac_cv_header_getopt_h=no"
echo "ac_cv_func_getopt_long_only=no"
echo "ac_cv_func_getline=no"
echo "ac_cv_func_getdelim=no"
) >config.cache
CC="%{l_cc}" \
%if "%{with_rse}" == "yes"
CFLAGS="%{l_cflags -O} -DRSE_PATCHES" \
@ -123,7 +124,8 @@ AutoReqProv: no
%endif
LDFLAGS="%{l_fsl_ldflags}" \
LIBS="%{l_fsl_libs}" \
./configure -C \
./configure \
--cache-file=./config.cache \
--prefix=%{l_prefix} \
--with-patch=%{l_prefix}/bin/patch \
--with-tmpdir=%{l_prefix}/var/cvs/tmp \

Loading…
Cancel
Save