openbsd-ports/net/amsn/patches/patch-configure

42 lines
1.1 KiB
Plaintext
Raw Normal View History

$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"
2007-10-22 15:32:24 -04:00
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ CFLAGS="$CFLAGS $CPPFLAGS"
+ LDFLAGS="$LDFLAGS"
FOUND_OS="bsd"
;;
Darwin)
@@ -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}`
# Check whether --enable-version-check was given.
2007-10-22 15:32:24 -04:00
if test "${enable_version_check+set}" = set; then
@@ -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
@@ -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