aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl83
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-06-01 02:31:17 +0800
committerhoek <hoek@FreeBSD.org>2000-06-01 02:31:17 +0800
commitd5e7e1485660a2597e5ed1046641f7ac532381fd (patch)
tree90b47a28e1b19f5ca14a29c773e435e822b32dd8 /lang/tcl83
parent16cf947a5971c65c133ade870cd4eb851a5bd9bd (diff)
downloadfreebsd-ports-gnome-d5e7e1485660a2597e5ed1046641f7ac532381fd.tar.gz
freebsd-ports-gnome-d5e7e1485660a2597e5ed1046641f7ac532381fd.tar.zst
freebsd-ports-gnome-d5e7e1485660a2597e5ed1046641f7ac532381fd.zip
Be aware of otclsh and tclsh8.1_r
Diffstat (limited to 'lang/tcl83')
-rw-r--r--lang/tcl83/pkg-deinstall.tclsh2
-rw-r--r--lang/tcl83/pkg-install.tclsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/tcl83/pkg-deinstall.tclsh b/lang/tcl83/pkg-deinstall.tclsh
index 07c6493c07cf..c48dc863cf43 100644
--- a/lang/tcl83/pkg-deinstall.tclsh
+++ b/lang/tcl83/pkg-deinstall.tclsh
@@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
- egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
+ egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1
diff --git a/lang/tcl83/pkg-install.tclsh b/lang/tcl83/pkg-install.tclsh
index 9dec69942b2a..3b808e2b500f 100644
--- a/lang/tcl83/pkg-install.tclsh
+++ b/lang/tcl83/pkg-install.tclsh
@@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version."
echo
echo "On your system, tclsh is installed under at least the following names:"
echo
-for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
+for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
do
echo $name
done