Browse Source

try to fix building under NetBSD

master
parent
commit
50cfa55797
  1. 7
      bash/bash.spec

7
bash/bash.spec

@ -37,7 +37,7 @@ Distribution: OpenPKG [CORE]
Group: Shell
License: GPL
Version: %{V_real}
Release: 20021025
Release: 20021028
# list of sources
Source0: ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}.tar.gz
@ -70,9 +70,14 @@ AutoReqProv: no
%patch3 -p0
%build
( echo "ac_cv_header_wchar_h=no"
echo "ac_cv_header_wctype_h=no"
echo "ac_cv_func_mbsrtowcs=no"
) >config.cache
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--cache-file=./config.cache \
--prefix=%{l_prefix} \
--without-gnu-malloc \
--without-curses

Loading…
Cancel
Save