aboutsummaryrefslogtreecommitdiff
path: root/textproc/wordnet/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/wordnet/scripts/configure')
-rw-r--r--textproc/wordnet/scripts/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/wordnet/scripts/configure b/textproc/wordnet/scripts/configure
index 027ae612d290..bc7a5198a6cb 100644
--- a/textproc/wordnet/scripts/configure
+++ b/textproc/wordnet/scripts/configure
@@ -25,14 +25,18 @@ patch -d ${WRKSRC}/src -p0 << EOPATCH
Configuring the wnb script to call the right wish-binary directly
--- wnb Sun Feb 22 12:49:56 1998
+++ wnb Sat Feb 26 17:41:06 2000
-@@ -1,6 +1,3 @@
+@@ -1,6 +1,7 @@
-#!/bin/sh
-# the following line is evaluated by sh but ignored by tcl \\
-wishwn "\$0" "\$@" &
-# the following line is evaluated by sh but ignored by tcl \\
-exec true
-# the preceding lines make this script self-executing on unix systems
-+#!${PREFIX}/bin/wish${TCL_DVER}
++#!${PREFIX}/bin/tclsh${TCL_DVER}
+
++if {[catch {package require Tk} e]} {
++ puts stderr "The x11-toolkits/tk${TCL_DVER} must be installed for wnb to work"
++ exit 1
++}
+package require Wordnet
EOPATCH