瀏覽代碼

fix building under new world order (sane environment)

Ralf S. Engelschall 24 年之前
父節點
當前提交
c9d7a9e84b
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      tar/tar.spec

+ 5 - 1
tar/tar.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        Archiver
 License:      GPL
 Version:      1.13.25
-Release:      20020319
+Release:      20020402
 
 #   list of sources
 Source0:      ftp://alpha.gnu.org/gnu/tar/tar-%{version}.tar.gz
@@ -58,9 +58,13 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    echo 'am_cv_func_iconv=${am_cv_func_iconv=no}' >config.cache
+    echo 'am_cv_lib_iconv=${am_cv_lib_iconv=no}' >config.cache
+    echo 'am_cv_func_iconv=${am_cv_func_iconv=no}' >config.cache
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     ./configure \
+        --config-cache \
         --prefix=%{l_prefix} \
         --disable-nls
     %{l_make} %{l_mflags -O}