diff --git a/lang/tcl/8.0/patches/patch-configure b/lang/tcl/8.0/patches/patch-configure index 168b53b27c6..3d87f609135 100644 --- a/lang/tcl/8.0/patches/patch-configure +++ b/lang/tcl/8.0/patches/patch-configure @@ -1,6 +1,6 @@ -$OpenBSD: patch-configure,v 1.2 2001/11/21 00:45:21 pvalchev Exp $ +$OpenBSD: patch-configure,v 1.3 2002/02/05 22:33:49 pvalchev Exp $ --- configure.orig Mon Mar 8 23:51:26 1999 -+++ configure Tue Nov 20 00:24:05 2001 ++++ configure Tue Feb 5 16:06:42 2002 @@ -4095,16 +4095,21 @@ rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then @@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2001/11/21 00:45:21 pvalchev Exp $ - SHLIB_LD="ld -Bshareable -x" + + case `machine` in -+ sparc) ++ sparc|sparc64) + SHLIB_CFLAGS="-fPIC";; + *) + SHLIB_CFLAGS="-fpic";;