Browse Source

modifying package: xterm-1.79 20030522 -> 20030610

Ralf S. Engelschall 22 years ago
parent
commit
4600da7878
1 changed files with 10 additions and 2 deletions
  1. 10 2
      xterm/xterm.spec

+ 10 - 2
xterm/xterm.spec

@@ -26,7 +26,7 @@
 #   package versions
 %define       V_whole        1.79
 %define       V_xterm        179
-%define       V_xtermset     0.5.1
+%define       V_xtermset     0.5.2
 %define       V_xtermcontrol 2.0.2
 
 #   package information
@@ -39,7 +39,7 @@ Distribution: OpenPKG [PLUS]
 Group:        XWindow
 License:      X11
 Version:      %{V_whole}
-Release:      20030522
+Release:      20030610
 
 #   list of sources
 Source0:      ftp://invisible-island.net/xterm/xterm-%{V_xterm}.tgz
@@ -65,6 +65,13 @@ AutoReqProv:  no
     %setup0 -q -c
     %setup1 -q -T -D -a 1
     %setup2 -q -T -D -a 2
+    %{l_shtool} subst \
+        -e 's;\(ACLOCAL\)=.*;\1=true;g' \
+        -e 's;\(AUTOCONF\)=.*;\1=true;g' \
+        -e 's;\(AUTOMAKE\)=.*;\1=true;g' \
+        -e 's;\(AUTOHEADER\)=.*;\1=true;g' \
+        -e 's;\(MAKEINFO\)=.*;\1=true;g' \
+        xtermset-%{V_xtermset}/configure
 
 %build
     ( cd xterm-%{V_xterm}
@@ -90,6 +97,7 @@ AutoReqProv:  no
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \
+          --cache-file=./config.cache \
           --prefix=%{l_prefix}
       %{l_make} %{l_mflags -O}
     )