13e2c4b2c2
similar diff from bsdmaniak at gmail
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
$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
|
|
OpenBSD | FreeBSD | NetBSD)
|
|
# *BSD has important stuff (from ports)
|
|
# in /usr/local ...
|
|
- CFLAGS="$CFLAGS -I/usr/local/include -L/usr/local/lib"
|
|
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
+ CFLAGS="$CFLAGS $CPPFLAGS"
|
|
+ LDFLAGS="$LDFLAGS"
|
|
FOUND_OS="bsd"
|
|
;;
|
|
Darwin)
|
|
@@ -2008,7 +2008,7 @@ $as_echo X"$prefix" |
|
|
fi
|
|
|
|
|
|
-TCLSH=`which tclsh`
|
|
+#TCLSH=`which tclsh`
|
|
VERSION=`echo "puts $::tcl_version ; exit" | ${TCLSH}`
|
|
# Check whether --enable-version-check was given.
|
|
if test "${enable_version_check+set}" = set; then
|
|
@@ -3407,7 +3407,7 @@ $as_echo_n "checking tcl build dir... " >&6; }
|
|
/usr/lib64/tcl8.5.* \
|
|
/usr/local/lib64/tcl8.5 \
|
|
/usr/local/lib64/tcl8.5.* \
|
|
- `locate tclConfig.sh`"
|
|
+ "
|
|
|
|
for i in $dirs ; do
|
|
|
|
@@ -3556,7 +3556,7 @@ $as_echo_n "checking tk build dir... " >&6; }
|
|
/usr/lib64/tk8.5.* \
|
|
/usr/local/lib64/tk8.5 \
|
|
/usr/local/lib64/tk8.5.* \
|
|
- `locate tkConfig.sh`"
|
|
+ "
|
|
|
|
|
|
for i in $dirs ; do
|