summarylogtreecommitdiffstats
path: root/fix-tcldir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-tcldir.patch')
-rw-r--r--fix-tcldir.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/fix-tcldir.patch b/fix-tcldir.patch
new file mode 100644
index 000000000000..e7ab35db99ca
--- /dev/null
+++ b/fix-tcldir.patch
@@ -0,0 +1,15 @@
+--- tcl/Makefile.am 2015-02-04 02:49:24.000000000 +0100
++++ tcl/Makefile_new.am 2015-10-26 17:53:44.914291480 +0100
+@@ -1,9 +1,9 @@
+ tcl_SCRIPTS = *.tcl
+-tcldir = $(DESTDIR)$(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl
++tcldir = $(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl
+
+ install-exec-hook:
+- $(MKDIR_P) $(tcldir) && \
+- cd $(tcldir) && \
++ $(MKDIR_P) $(DESTDIR)$(tcldir) && \
++ cd $(DESTDIR)$(tcldir) && \
+ $(LN_S) -f ../images/tcl_images images && \
+ cd $(DESTDIR)$(bindir) && \
+ $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowcub.tcl