Explorar o código

try to fix building under NetBSD

Ralf S. Engelschall %!s(int64=23) %!d(string=hai) anos
pai
achega
50cfa55797
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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