diff --git a/debian/rules b/debian/rules
index 87d72eb3dd809b387e609ecac7553886821099e4..4be5bfa6d23ef3af1a436dd9b8117f7227341f49 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
done)
#tcl version we're building for
-TCL_VERS := $(shell dpkg -s tcl | grep ^Depends | sed 's,.*tcl\([0-9.]*\).*,\1,')
-
+#TCL_VERS := $(shell dpkg -s tcl | grep ^Depends | sed 's,.*tcl\([0-9.]*\).*,\1,')
+TCL_VERS := 8.4
#let's help configure to figure out our host/build system
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
#path to our ttf font
CONFFLAGS += --with-rrd-default-font=/usr/share/rrdtool/librrd$(LIB_major)/DejaVuSansMono-Roman.ttf
+#path to tcl
+CONFFLAGS += --with-tcllib=/usr/lib/tcl$(TCL_VERS)
#let's take care of optimization + debug builds
CFLAGS += -Wall -g