summaryrefslogtreecommitdiff
path: root/lang/tcl/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl/patches/patch-ae')
-rw-r--r--lang/tcl/patches/patch-ae24
1 files changed, 16 insertions, 8 deletions
diff --git a/lang/tcl/patches/patch-ae b/lang/tcl/patches/patch-ae
index 3d3e64a5814..64665e13b0c 100644
--- a/lang/tcl/patches/patch-ae
+++ b/lang/tcl/patches/patch-ae
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $
+$NetBSD: patch-ae,v 1.3 2004/01/05 11:22:13 jlam Exp $
---- configure.in.orig Sat Oct 20 02:24:15 2001
-+++ configure.in
+--- configure.in.orig Fri Oct 19 17:24:15 2001
++++ configure.in Tue Nov 25 05:16:06 2003
@@ -386,7 +386,7 @@
if test "x$DL_OBJS" = "xtclLoadAout.o"; then
MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}"
@@ -20,19 +20,27 @@ $NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $
else
TCL_BUILD_EXP_FILE="lib.exp"
eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
-@@ -454,9 +454,9 @@
+@@ -454,10 +454,17 @@
#--------------------------------------------------------------------
if test "$prefix" != "$exec_prefix"; then
- TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib"
-+ TCL_PACKAGE_PATH="${exec_prefix}/lib/tcl ${prefix}/lib"
++ TCL_PACKAGE_PATH_ADD="${exec_prefix}/lib/tcl ${prefix}/lib"
else
- TCL_PACKAGE_PATH="${prefix}/lib"
-+ TCL_PACKAGE_PATH="${prefix}/lib/tcl"
++ TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl"
fi
++for dir in ${TCL_PACKAGE_PATH_ADD}; do
++ if test -z "${TCL_PACKAGE_PATH}"; then
++ TCL_PACKAGE_PATH="$dir"
++ else
++ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir"
++ fi
++done
#--------------------------------------------------------------------
-@@ -469,7 +469,7 @@
+ # The statements below define various symbols relating to Tcl
+@@ -469,7 +476,7 @@
# Replace DBGX with TCL_DBGX
eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
@@ -41,7 +49,7 @@ $NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}"
-@@ -511,6 +511,8 @@
+@@ -511,6 +518,8 @@
AC_SUBST(CFG_TCL_EXPORT_FILE_SUFFIX)
AC_SUBST(CFLAGS)