Package: rivet
Version: 0.5.0-3
Severity: normal
Tags: patch

The build system in this package relies on TCL_PACKAGE_PATH being
a single directory but it may contain more than one.  For example,
package tcl8.4-dev defines two (/usr/lib /usr/share).

The easiest way around this bug is to just take the first directory
before substituting the variable:

diff -Nru rivet-0.5.0.orig/configure.ac rivet-0.5.0/configure.ac
--- rivet-0.5.0.orig/configure.ac       2005-03-24 11:29:15.000000000 +0100
+++ rivet-0.5.0/configure.ac    2006-10-22 02:01:49.000000000 +0200
@@ -268,6 +268,7 @@
 AC_DEFINE_UNQUOTED(NAMEOFEXECUTABLE,"${TCLSH_PROG}",[The path to a working 
tclsh executable])

 # We need to use the package path for the installation procedure.
+TCL_PACKAGE_PATH=${TCL_PACKAGE_PATH/ */}
 AC_SUBST(TCL_PACKAGE_PATH)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to