summaryrefslogtreecommitdiffstats
path: root/games/gracer/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'games/gracer/files/patch-configure.in')
-rw-r--r--games/gracer/files/patch-configure.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/games/gracer/files/patch-configure.in b/games/gracer/files/patch-configure.in
new file mode 100644
index 0000000..737df1e
--- /dev/null
+++ b/games/gracer/files/patch-configure.in
@@ -0,0 +1,33 @@
+--- configure.in.orig Wed Nov 24 04:33:25 1999
++++ configure.in Mon Dec 27 18:07:12 1999
+@@ -237,7 +237,7 @@
+ tcl_prefix=$with_tcl)
+
+ for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
+- if test -r $tcl_prefix/lib/tclConfig.sh; then
++ if test -r $tcl_prefix/lib/tcl8.4/tclConfig.sh; then
+ break;
+ fi
+ done
+@@ -246,18 +246,18 @@
+ AC_MSG_ERROR([could't find tclConfig.sh])
+ fi
+
+-file=${tcl_prefix}/lib/tclConfig.sh
++file=${tcl_prefix}/lib/tcl8.4/tclConfig.sh
+ if test ! -r ${file}; then
+ AC_MSG_ERROR(tclConfig.sh doesn't exist)
+ fi
+-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
++AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.4])
+ . $file
+
+ if test $TCL_MAJOR_VERSION -lt 8; then
+ AC_MSG_ERROR([tcl version 8.0 or higher is required.])
+ fi
+
+-TCL_CFLAGS="-I$TCL_SRC_DIR"
++TCL_CFLAGS="-I$tcl_prefix/include/tcl8.4"
+ TCL_LDFLAGS="$TCL_LIB_SPEC"
+ AC_SUBST(TCL_CFLAGS)
+ AC_SUBST(TCL_LDFLAGS)
OpenPOWER on IntegriCloud