aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl86
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-04-30 00:01:47 +0800
committerPietro Cerutti <gahr@FreeBSD.org>2013-04-30 00:01:47 +0800
commit39e480425abf3a256b3743234921873c85f7d027 (patch)
tree209beee95740d4627f99bcbca7015390cf8f50e4 /lang/tcl86
parent2b61d71d195d69920d1f014032810a8f4e5b6066 (diff)
downloadfreebsd-ports-gnome-39e480425abf3a256b3743234921873c85f7d027.tar.gz
freebsd-ports-gnome-39e480425abf3a256b3743234921873c85f7d027.tar.zst
freebsd-ports-gnome-39e480425abf3a256b3743234921873c85f7d027.zip
- Allow safe interps to use tm.tcl to locate packages. This only affects
SafeBase interps, as "raw" safe interps cannot read the filesystem.
Diffstat (limited to 'lang/tcl86')
-rw-r--r--lang/tcl86/files/patch-unix-Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/tcl86/files/patch-unix-Makefile.in b/lang/tcl86/files/patch-unix-Makefile.in
index ca29256a492b..4fa093a8113f 100644
--- a/lang/tcl86/files/patch-unix-Makefile.in
+++ b/lang/tcl86/files/patch-unix-Makefile.in
@@ -154,7 +154,7 @@
- @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform/shell-1.1.4.tm;
+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/platform/shell-1.1.4.tm;
+ @echo "Customizing tcl module path"; \
-+ echo "if {![interp issafe]} { ::tcl::tm::path add {$(SCRIPT_INSTALL_DIR)} }" >> \
++ echo "::tcl::tm::path add {$(SCRIPT_INSTALL_DIR)}" >> \
+ "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
- @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";