aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2004-03-12 20:27:05 +0800
committertg <tg@FreeBSD.org>2004-03-12 20:27:05 +0800
commitd51b72eaa89f69f6f2c1bb2518d2cc75765b44ee (patch)
treeb2bf8fc12de3ec593a7c7d01a71a248a89fe0ad9
parent3fa751c55df43154f4e9b281f90a34b5273313e2 (diff)
downloadfreebsd-ports-graphics-d51b72eaa89f69f6f2c1bb2518d2cc75765b44ee.tar.gz
freebsd-ports-graphics-d51b72eaa89f69f6f2c1bb2518d2cc75765b44ee.tar.zst
freebsd-ports-graphics-d51b72eaa89f69f6f2c1bb2518d2cc75765b44ee.zip
Really stop looking for tkConfig.sh (sorry, I forgot to add this
in my last commit). Prodded by: kris
-rw-r--r--devel/ecos-tools/files/patch-host::tools::configtool::standalone::common::configure64
1 files changed, 64 insertions, 0 deletions
diff --git a/devel/ecos-tools/files/patch-host::tools::configtool::standalone::common::configure b/devel/ecos-tools/files/patch-host::tools::configtool::standalone::common::configure
new file mode 100644
index 00000000000..7663a8a4f05
--- /dev/null
+++ b/devel/ecos-tools/files/patch-host::tools::configtool::standalone::common::configure
@@ -0,0 +1,64 @@
+--- ../ecos/host/tools/configtool/standalone/common/configure~ Wed Mar 10 16:13:37 2004
++++ ../ecos/host/tools/configtool/standalone/common/configure Wed Mar 10 16:08:55 2004
+@@ -2076,61 +2076,6 @@
+
+ possibles=`echo ${possibles} | sed -e 's,tcl,tk,g'`
+
+- tkconfig=""
+- for i in ${possibles}; do
+- if test -r "$i/"tkConfig.sh""; then
+- tkconfig=$i
+- break
+- fi
+- done
+-
+- if test \! -r "${tkconfig}/tkConfig.sh" ; then
+- { echo "configure: error: unable to locate Tk config file tkConfig.sh" 1>&2; exit 1; }
+- else
+- . ${tkconfig}/tkConfig.sh
+- if test -z "${TK_INC_DIR}" ; then
+- if test "${TK_PREFIX}" = "/usr" ; then
+- ecos_tk_includes="${TK_XINCLUDES}"
+- else
+- ecos_tk_includes="-I${TK_PREFIX}/include ${TK_XINCLUDES}"
+- fi
+- else
+- ecos_tk_includes="-I${TK_INC_DIR} ${TK_XINCLUDES}"
+- fi
+-
+- if test -z "${TK_LIB_SPEC}" -a "${with_tcl_version+set}" = set ; then
+-
+- libtk=""
+- for i in ${possibles}; do
+- if test -r "$i/"libtk${with_tcl_version}.a""; then
+- libtk=$i
+- break
+- fi
+- done
+-
+- if test -r "${libtk}/libtk${with_tcl_version}.a" ; then
+- TK_LIB_SPEC="-L${libtk} -ltk${with_tcl_version}"
+- fi
+- fi
+- if test -z "${TK_LIB_SPEC}" ; then
+-
+- libtk=""
+- for i in ${possibles}; do
+- if test -r "$i/"libtk.a""; then
+- libtk=$i
+- break
+- fi
+- done
+-
+- if test -r "${libtk}/libtk.a" ; then
+- TK_LIB_SPEC="-L${libtk} -ltk"
+- fi
+- fi
+- if test -z "${TK_LIB_SPEC}" ; then
+- { echo "configure: error: ${tkconfig}/tkConfig.sh does not define TK_LIB_SPEC" 1>&2; exit 1; }
+- fi
+- ecos_tk_libs="${TK_LIB_SPEC} ${TK_LIBS}"
+- fi
+ fi
+ fi
+