Quellcode durchsuchen

Work around autoconf failure to detect missing XkbBell X11 extension

Michael Schloh von Bennewitz vor 23 Jahren
Ursprung
Commit
7aeea62722
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
  1. 7 1
      xterm/xterm.spec

+ 7 - 1
xterm/xterm.spec

@@ -38,7 +38,7 @@ Distribution: OpenPKG [PLUS]
 Group:        XWindow
 License:      X11
 Version:      %{V_whole}
-Release:      20030310
+Release:      20030313
 
 #   list of sources
 Source0:      ftp://invisible-island.net/xterm/xterm-%{V_xterm}.tgz
@@ -67,9 +67,15 @@ AutoReqProv:  no
 
 %build
     ( cd xterm-%{V_xterm}
+      case "%{l_target}" in
+          *-solaris* )
+          echo "ac_cv_func_XkbBell=no" > config.cache
+          ;;
+      esac
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \
+          --cache-file=./config.cache \
           --prefix=%{l_prefix} \
           --with-x \
           --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \