slackbuilds/development/trf/01-destlibdir.patch

13 lines
391 B
Diff

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@