Parcourir la source

try to fix building under NetBSD

Ralf S. Engelschall il y a 23 ans
Parent
commit
50cfa55797
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      bash/bash.spec

+ 6 - 1
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