diff options
Diffstat (limited to 'science/omnetpp/files/patch-configure')
-rw-r--r-- | science/omnetpp/files/patch-configure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/science/omnetpp/files/patch-configure b/science/omnetpp/files/patch-configure new file mode 100644 index 000000000000..b91204ae708c --- /dev/null +++ b/science/omnetpp/files/patch-configure @@ -0,0 +1,18 @@ +--- 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` |