1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/science/omnetpp/files/patch-configure
Pav Lucistnik 233479e5bc - Update to 3.3
PR:		ports/122488
Submitted by:	Bjoern Koenig <bkoenig@cs.tu-berlin.de> (maintainer)
2008-05-14 12:41:06 +00:00

19 lines
1.1 KiB
Plaintext

--- configure.orig 2006-10-21 17:47:44.000000000 +0200
+++ configure 2008-04-06 15:04:21.000000000 +0200
@@ -5152,6 +5152,7 @@
echo "$as_me: error: Cannot find wish, part of Tcl/Tk -- maybe it is not in the PATH or has some exotic name (tested names were: wish wish85 wish8.5 wish84 wish8.4 cygwish cygwish85 cygwish84)" >&2;}
{ (exit 1); exit 1; }; }
fi
+if false; then
if echo 'puts OK; exit' | $WISH | grep OK >/dev/null; then :; else
{ { echo "$as_me:$LINENO: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&5
echo "$as_me: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&2;}
@@ -5162,6 +5163,7 @@
echo "$as_me: error: wish command \"package require Tk 8.4\" failed: probably old Tcl/Tk version, version 8.4.0+ required" >&2;}
{ (exit 1); exit 1; }; }
fi
+fi
# note: square brackets necessary otherwise M4 messes up the Tcl command
tcl_library=`echo 'puts [info library]; exit' | $WISH`