]> git.pld-linux.org Git - packages/rrdtool.git/blobdiff - rrdtool-tcl-path.patch
- updated
[packages/rrdtool.git] / rrdtool-tcl-path.patch
index 766482cbb6af5b6d0b61156e6893af37a923f00e..100bab80ac9e7deac41805595d7f342719d937e3 100644 (file)
@@ -1,11 +1,21 @@
---- configure.ac~      2005-12-18 20:30:46.000000000 +0000
-+++ configure.ac       2006-05-19 00:21:35.165121000 +0000
-@@ -487,7 +487,7 @@
-         AC_MSG_WARN([tclConfig.sh not found - Tcl interface won't be built])
-   else
-       . $tcl_config
--      TCL_PACKAGE_DIR="$TCL_PACKAGE_PATH/tclrrd$VERSION"
-+      TCL_PACKAGE_DIR="/usr/lib/tclrrd$VERSION"
+--- rrdtool-1.2.13/configure.ac.orig   2006-05-04 15:26:29.000000000 +0200
++++ rrdtool-1.2.13/configure.ac        2006-05-28 10:10:20.253466500 +0200
+@@ -632,7 +632,7 @@
+   withval=""
+   AC_ARG_WITH(tcllib,[  --with-tcllib=DIR       location of the tclConfig.sh])
+   enable_tcl=no
+-  for dir in $withval /usr/lib /usr/local/lib /usr/lib/tcl8.4 /usr/lib/tcl8.3 ; do
++  for dir in $withval /usr/lib /usr/local/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 ; do
+     AC_MSG_CHECKING(for tclConfig.sh in $dir)
+     if test -f "$dir/tclConfig.sh" ; then
+       tcl_config=$dir/tclConfig.sh
+@@ -654,7 +654,7 @@
+       fi
    fi
+   AC_ARG_ENABLE(tcl,[  --enable-tcl-site        install the tcl extension in the tcl tree],
+-  [],[enable_tcl_site=yes])
++  [enable_tcl_site="$enable_tcl"],[enable_tcl_site=yes])
  fi
  
+
This page took 0.076922 seconds and 4 git commands to generate.