aboutsummaryrefslogtreecommitdiff
path: root/libraries/tcl-promise/dst-installer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/tcl-promise/dst-installer.patch')
-rw-r--r--libraries/tcl-promise/dst-installer.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/tcl-promise/dst-installer.patch b/libraries/tcl-promise/dst-installer.patch
new file mode 100644
index 0000000000000..293f59d268240
--- /dev/null
+++ b/libraries/tcl-promise/dst-installer.patch
@@ -0,0 +1,12 @@
+--- promise-1.1.0.tm.orig 2020-07-27 12:00:27.771781329 -0500
++++ promise-1.1.0.tm 2020-07-27 12:03:12.543787263 -0500
+@@ -1281,7 +1281,8 @@
+ }
+ }
+ install {
+- set dir [file join [tcl::pkgconfig get libdir,runtime] tcl8 8.6]
++ set dir [string cat [lindex $::argv 1] [file join [tcl::pkgconfig get libdir,runtime] tcl8 8.6]]
++ file mkdir $dir
+ if {[file extension $filename] eq ".tm"} {
+ # We already are a .tm with version number
+ set target $filename