2008-08-31 13:16:22 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.3 2008/08/31 17:16:22 steven Exp $
|
|
|
|
--- configure.orig Fri Jul 25 16:47:03 2008
|
|
|
|
+++ configure Sun Aug 31 11:37:29 2008
|
|
|
|
@@ -1883,8 +1883,8 @@ case `uname -s` in
|
2008-02-02 16:17:49 -05:00
|
|
|
OpenBSD | FreeBSD | NetBSD)
|
|
|
|
# *BSD has important stuff (from ports)
|
|
|
|
# in /usr/local ...
|
|
|
|
- CFLAGS="$CFLAGS -I/usr/local/include -L/usr/local/lib"
|
2007-10-22 15:32:24 -04:00
|
|
|
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
|
|
+ CFLAGS="$CFLAGS $CPPFLAGS"
|
|
|
|
+ LDFLAGS="$LDFLAGS"
|
|
|
|
FOUND_OS="bsd"
|
|
|
|
;;
|
2008-02-02 16:17:49 -05:00
|
|
|
Darwin)
|
2008-08-31 13:16:22 -04:00
|
|
|
@@ -2008,7 +2008,7 @@ $as_echo X"$prefix" |
|
2007-10-22 15:32:24 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
-TCLSH=`which tclsh`
|
|
|
|
+#TCLSH=`which tclsh`
|
|
|
|
VERSION=`echo "puts $::tcl_version ; exit" | ${TCLSH}`
|
2008-02-02 16:17:49 -05:00
|
|
|
# Check whether --enable-version-check was given.
|
2007-10-22 15:32:24 -04:00
|
|
|
if test "${enable_version_check+set}" = set; then
|
2008-08-31 13:16:22 -04:00
|
|
|
@@ -3407,7 +3407,7 @@ $as_echo_n "checking tcl build dir... " >&6; }
|
2007-10-22 15:32:24 -04:00
|
|
|
/usr/lib64/tcl8.5.* \
|
|
|
|
/usr/local/lib64/tcl8.5 \
|
|
|
|
/usr/local/lib64/tcl8.5.* \
|
|
|
|
- `locate tclConfig.sh`"
|
|
|
|
+ "
|
|
|
|
|
|
|
|
for i in $dirs ; do
|
|
|
|
|
2008-08-31 13:16:22 -04:00
|
|
|
@@ -3556,7 +3556,7 @@ $as_echo_n "checking tk build dir... " >&6; }
|
2007-10-22 15:32:24 -04:00
|
|
|
/usr/lib64/tk8.5.* \
|
|
|
|
/usr/local/lib64/tk8.5 \
|
|
|
|
/usr/local/lib64/tk8.5.* \
|
|
|
|
- `locate tkConfig.sh`"
|
|
|
|
+ "
|
|
|
|
|
|
|
|
|
|
|
|
for i in $dirs ; do
|