summaryrefslogtreecommitdiff
path: root/development/trf/01-destlibdir.patch
diff options
context:
space:
mode:
authorZbigniew Baniewski <zb@ispid.com.pl>2011-01-09 11:41:31 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:25 -0600
commit92e719c0eb96f58911147e1ac92921e4e454c1aa (patch)
treec4b3ffa7bea9775c184dde653f4823376f7fafdb /development/trf/01-destlibdir.patch
parenta1a54dd36f730f3c27a0a99b4c813929f5b1b191 (diff)
downloadslackbuilds-92e719c0eb96f58911147e1ac92921e4e454c1aa.tar.gz
development/trf: Added (transformer extension library for Tcl)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 0000000000..8d593c8e41
--- /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@
+