aboutsummaryrefslogtreecommitdiff
path: root/development/trf/01-destlibdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/trf/01-destlibdir.patch')
-rw-r--r--development/trf/01-destlibdir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/development/trf/01-destlibdir.patch b/development/trf/01-destlibdir.patch
new file mode 100644
index 0000000000000..8d593c8e41b46
--- /dev/null
+++ b/development/trf/01-destlibdir.patch
@@ -0,0 +1,12 @@
+diff -Nur trf2.1p2/mkIndex.tcl.in trf2.1p2.new/mkIndex.tcl.in
+--- trf2.1p2/mkIndex.tcl.in 2001-03-27 13:08:44.000000000 +0000
++++ trf2.1p2.new/mkIndex.tcl.in 2011-01-01 22:27:50.009977117 +0000
+@@ -86,7 +86,7 @@
+
+ set exec_prefix [Nativepath $exec_prefix]
+
+-set libdir @libdir@
++set libdir [file join $::env(DESTDIR) {*}[split @libdir@ /]]
+ set package @PACKAGE@
+ set version @VERSION@
+