diff --git a/lang/tcl/8.0/patches/patch-configure b/lang/tcl/8.0/patches/patch-configure index 7d5538a01ba..168b53b27c6 100644 --- a/lang/tcl/8.0/patches/patch-configure +++ b/lang/tcl/8.0/patches/patch-configure @@ -1,7 +1,7 @@ -$OpenBSD: patch-configure,v 1.1 2001/10/10 04:17:40 pvalchev Exp $ +$OpenBSD: patch-configure,v 1.2 2001/11/21 00:45:21 pvalchev Exp $ --- configure.orig Mon Mar 8 23:51:26 1999 -+++ configure Tue Oct 9 21:51:56 2001 -@@ -4095,16 +4095,26 @@ rm -f conftest* ++++ configure Tue Nov 20 00:24:05 2001 +@@ -4095,16 +4095,21 @@ rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -19,13 +19,7 @@ $OpenBSD: patch-configure,v 1.1 2001/10/10 04:17:40 pvalchev Exp $ SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" -- DL_LIBS="" -+ case `echo __ELF__ | gcc -E - | grep __ELF__` in -+ __ELF__) -+ DL_LIBS="";; -+ *) -+ DL_LIBS="-ldl";; -+ esac + DL_LIBS="" LD_FLAGS="" LD_SEARCH_FLAGS="" - TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' @@ -33,7 +27,7 @@ $OpenBSD: patch-configure,v 1.1 2001/10/10 04:17:40 pvalchev Exp $ else echo "$ac_t""no" 1>&6 -@@ -4656,10 +4666,9 @@ if test "$tcl_ok" = "yes" -a "${SHLIB_SU +@@ -4656,10 +4661,9 @@ if test "$tcl_ok" = "yes" -a "${SHLIB_SU TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}" if test "x$DL_OBJS" = "xtclLoadAout.o"; then