1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/games/gracer/files/patch-aa
Chris D. Faulhaber a85ec5feb6 Update port to 0.1.4
Add sound support

PR:		15141
Submitted by:	Maintainer
1999-12-27 23:15:21 +00:00

34 lines
940 B
Plaintext

--- 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.2/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.2/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.2])
. $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.2"
TCL_LDFLAGS="$TCL_LIB_SPEC"
AC_SUBST(TCL_CFLAGS)
AC_SUBST(TCL_LDFLAGS)