]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix problem with tcl check in graphviz 2.24.0
authorvsr <vsr@opencascade.com>
Thu, 10 Jun 2010 14:48:53 +0000 (14:48 +0000)
committervsr <vsr@opencascade.com>
Thu, 10 Jun 2010 14:48:53 +0000 (14:48 +0000)
config_files/graphviz-2.24.0.sh

index 8d4df0fec7b30b8fdaefeefa1c726a3a64b395ea..4bcd969c442e291d2fa3f5364bcaba60b9e1f83e 100755 (executable)
@@ -80,6 +80,7 @@ cd ${PRODUCT_SRC_DIR}
 test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
 
 sed -i 's%PYTHON_LIBS="\(.*\)"%PYTHON_LIBS="-L\$PYTHON_PREFIX/lib \1"%g' configure
+sed -i "s%echo 'puts \[info tclversion\]' | \$TCLSH%echo 'puts \[info tclversion\]' | \$TCLSH 2>/dev/null | grep -E '^[0-9.]+$'%g" configure
 
 CONFIGURE_FLAGS="--disable-rpath"
 if [ "${EXPAT_ROOT}" != "" ] ; then