SOURCES: tkhtml-paths.patch (NEW) - add

glen glen at pld-linux.org
Mon Nov 27 02:10:49 CET 2006


Author: glen                         Date: Mon Nov 27 01:10:49 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add

---- Files affected:
SOURCES:
   tkhtml-paths.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/tkhtml-paths.patch
diff -u /dev/null SOURCES/tkhtml-paths.patch:1.1
--- /dev/null	Mon Nov 27 02:10:49 2006
+++ SOURCES/tkhtml-paths.patch	Mon Nov 27 02:10:44 2006
@@ -0,0 +1,30 @@
+--- htmlwidget/tclconfig/tcl.m4	2006-11-27 02:57:01.649152428 +0200
++++ htmlwidget/tclconfig/tcl.m4	2006-11-27 02:59:05.961945893 +0200
+@@ -3648,7 +3648,12 @@
+         list="`ls -d ${TCL_BIN_DIR}/../bin 2>/dev/null` \
+               `ls -d ${TCL_BIN_DIR}/..     2>/dev/null` \
+               `ls -d ${TCL_PREFIX}/bin     2>/dev/null`"
+-        for i in $list ; do
++        for i in /usr/bin $list ; do
++            if test -f "$i/tclsh" ; then
++                REAL_TCL_BIN_DIR="`cd "$i"; pwd`"
++				TCLSH_PROG="tclsh"
++                break
++            fi
+             if test -f "$i/${TCLSH_PROG}" ; then
+                 REAL_TCL_BIN_DIR="`cd "$i"; pwd`"
+                 break
+@@ -3698,7 +3703,12 @@
+         list="`ls -d ${TK_BIN_DIR}/../bin 2>/dev/null` \
+               `ls -d ${TK_BIN_DIR}/..     2>/dev/null` \
+               `ls -d ${TK_PREFIX}/bin     2>/dev/null`"
+-        for i in $list ; do
++        for i in /usr $list ; do
++            if test -f "$i/wish" ; then
++                REAL_TK_BIN_DIR="`cd "$i"; pwd`"
++				WISH_PROG="wish"
++                break
++            fi
+             if test -f "$i/${WISH_PROG}" ; then
+                 REAL_TK_BIN_DIR="`cd "$i"; pwd`"
+                 break
================================================================


More information about the pld-cvs-commit mailing list