aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl86
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-04-30 00:01:47 +0800
committergahr <gahr@FreeBSD.org>2013-04-30 00:01:47 +0800
commit91efd05c82fa47e4c8484561270c96e6da2898c5 (patch)
tree209beee95740d4627f99bcbca7015390cf8f50e4 /lang/tcl86
parent52802334bafe138443f90c50b8b76eb6c48aa123 (diff)
downloadfreebsd-ports-gnome-91efd05c82fa47e4c8484561270c96e6da2898c5.tar.gz
freebsd-ports-gnome-91efd05c82fa47e4c8484561270c96e6da2898c5.tar.zst
freebsd-ports-gnome-91efd05c82fa47e4c8484561270c96e6da2898c5.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/";