View | Details | Raw Unified | Return to bug 191994
Collapse All | Expand All

(-)mail/tkrat2/files/patch-tkrat_Makefile.in (-2 / +21 lines)
Lines 1-5 Link Here
1
--- tkrat/Makefile.in.orig	2014-07-05 02:33:47.024291586 +0600
1
--- tkrat/Makefile.in.orig	2003-11-03 22:38:15.000000000 -0800
2
+++ tkrat/Makefile.in	2014-07-05 02:34:16.376307317 +0600
2
+++ tkrat/Makefile.in	2014-07-20 14:46:06.000000000 -0700
3
@@ -13,8 +13,8 @@
3
@@ -13,8 +13,8 @@
4
    exec_prefix = @exec_prefix@
4
    exec_prefix = @exec_prefix@
5
        MAN_DIR = @mandir@
5
        MAN_DIR = @mandir@
Lines 11-13 Link Here
11
     sysconfdir = @sysconfdir@
11
     sysconfdir = @sysconfdir@
12
 
12
 
13
        INSTALL = @INSTALL@
13
        INSTALL = @INSTALL@
14
@@ -84,15 +84,15 @@
15
 	rm -f $@
16
 	echo "#!${WISH}" >$@
17
 	echo "# This file automatically generated `date`" >>$@
18
-	echo "set env(LIBDIR) ${DATA_DIR}" >>$@
19
+	echo "set env(LIBDIR) ${prefix}${DATA_DIR}" >>$@
20
 	echo "set env(CONFIG_DIR) ${sysconfdir}/ratatosk" >>$@
21
 	echo "set env(COMPRESS) ${COMPRESS}" >>$@
22
 	echo "set env(CSUFFIX) ${CSUFFIX}" >>$@
23
 	echo "set env(SSH) \"${SSH}\"" >>$@
24
-	echo "foreach dir {${DATA_DIR}/util ${LIB_DIR}} {" >>$@
25
+	echo "foreach dir {${prefix}${DATA_DIR}/util ${LIB_DIR}} {" >>$@
26
 	echo '    source $$dir/pkgIndex.tcl' >>$@
27
 	echo "}" >>$@
28
-	echo "set auto_path [concat ${DATA_DIR} \$$auto_path]" >>$@
29
+	echo "set auto_path [concat ${prefix}${DATA_DIR} \$$auto_path]" >>$@
30
 	echo "TkRatClientStart" >>$@
31
 
32
 backup:

Return to bug 191994